Method | Description | |
---|---|---|
ConvertImage ( System pic, string filename ) : void |
Convert image to another format
|
|
DeleteFile ( string fileName ) : void |
Delete file
|
|
DeleteFile ( string fileName, bool isMoveToRecycleBin ) : void |
Delete file
|
|
DisplayFileProperties ( string fileName, |
Show file property dialog
|
|
GetCreateTime ( string filename ) : System.DateTime |
Get file creation time
|
|
GetFileSize ( string filename ) : string |
Get file size format
|
|
GetImageFileType ( string filename ) : string |
Get image type name
|
|
GetImageFileType ( string extension, bool extensionOnly ) : string |
Get image file type
|
|
GetImageResolution ( string filename ) : string |
Get image resolution
|
|
GetLastAccess ( string filename ) : System.DateTime |
Get file last access
|
|
GetWriteTime ( string filename ) : System.DateTime |
Get file write time
|
|
GetWxHSize ( string filename ) : string |
Get image size, Width x height string
|
|
RenameFile ( string oldFileName, string newFileName ) : void |
Rename file
|
|
SaveImage ( System pic, string filename ) : void |
Save image
|
Method | Description | |
---|---|---|
ShellExecuteEx ( SHELLEXECUTEINFO &s ) : int |
public static ConvertImage ( System pic, string filename ) : void | ||
pic | System | Image source |
filename | string | Filename |
return | void |
public static DeleteFile ( string fileName ) : void | ||
fileName | string | file name |
return | void |
public static DeleteFile ( string fileName, bool isMoveToRecycleBin ) : void | ||
fileName | string | file name |
isMoveToRecycleBin | bool | True: Move to Recycle bin | False: Delete permanently |
return | void |
public static DisplayFileProperties ( string fileName, |
||
fileName | string | file name |
hwnd | ||
return | void |
public static GetCreateTime ( string filename ) : System.DateTime | ||
filename | string | file name |
return | System.DateTime |
public static GetFileSize ( string filename ) : string | ||
filename | string | |
return | string |
public static GetImageFileType ( string filename ) : string | ||
filename | string | file name |
return | string |
public static GetImageFileType ( string extension, bool extensionOnly ) : string | ||
extension | string | extension code |
extensionOnly | bool | Always true |
return | string |
public static GetImageResolution ( string filename ) : string | ||
filename | string | |
return | string |
public static GetLastAccess ( string filename ) : System.DateTime | ||
filename | string | file name |
return | System.DateTime |
public static GetWriteTime ( string filename ) : System.DateTime | ||
filename | string | file name |
return | System.DateTime |
public static GetWxHSize ( string filename ) : string | ||
filename | string | file name |
return | string |
public static RenameFile ( string oldFileName, string newFileName ) : void | ||
oldFileName | string | old file name |
newFileName | string | new file name |
return | void |
public static SaveImage ( System pic, string filename ) : void | ||
pic | System | Image source |
filename | string | Filename |
return | void |