Property | Type | Description | |
---|---|---|---|
IconImagelist | |||
IconList | int>.Dictionary | ||
MainTreeImage | |||
TabViewImage |
Method | Description | |
---|---|---|
ByteArrayToImage ( byte byteArrayIn ) : Image | ||
ConvertImgToIcon ( Image orgImg ) : |
Image转换为Icon
|
|
GetContentType ( string fileName ) : string |
|
|
GetIconByFileName ( string fileName ) : |
依据文件名读取图标,若指定文件不存在,则返回空值。
|
|
GetIconByFileType ( string sFileExt ) : |
根据扩展名获得图标
|
|
GetIconByFileType ( string fileType, bool isLarge ) : |
给出文件扩展名(.*),返回相应图标 若不以"."开头则返回文件夹的图标。
|
|
GetIconIndexByFileName ( string fileName, bool isLarge ) : int |
根据文件名获得图片数组下标
|
|
ImageToByteArray ( Image imageIn, |
||
InitMainTreeImage ( ) : void |
主树形控件图标数组初始化
|
|
InitTabViewImage ( ) : void |
|
Method | Description | |
---|---|---|
DeleteObject ( |
public static ByteArrayToImage ( byte byteArrayIn ) : Image | ||
byteArrayIn | byte | |
return | Image |
public static ConvertImgToIcon ( Image orgImg ) : |
||
orgImg | Image | |
return |
public static GetContentType ( string fileName ) : string | ||
fileName | string | |
return | string |
public static GetIconByFileName ( string fileName ) : |
||
fileName | string | |
return |
public static GetIconByFileType ( string sFileExt ) : |
||
sFileExt | string | |
return |
public static GetIconByFileType ( string fileType, bool isLarge ) : |
||
fileType | string | |
isLarge | bool | |
return |
public static GetIconIndexByFileName ( string fileName, bool isLarge ) : int | ||
fileName | string | |
isLarge | bool | |
return | int |
public static ImageToByteArray ( Image imageIn, |
||
imageIn | Image | |
format | ||
return | byte[] |
public static ImageList,System.Windows.Forms IconImagelist | ||
return |
public static ImageList,System.Windows.Forms MainTreeImage | ||
return |