Visual Basic (Declaration) | |
---|---|
Public Overloads Function Edit( _ ByVal inputFile As String, _ ByVal handler As ImageEditor.EditPageEventHandler, _ ByVal outputFile As String, _ ByVal format As ImageFileFormat, _ ByVal overwrite As Boolean _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImageEditor Dim inputFile As String Dim handler As ImageEditor.EditPageEventHandler Dim outputFile As String Dim format As ImageFileFormat Dim overwrite As Boolean Dim value As Boolean value = instance.Edit(inputFile, handler, outputFile, format, overwrite) |
C# | |
---|---|
public bool Edit( string inputFile, ImageEditor.EditPageEventHandler handler, string outputFile, ImageFileFormat format, bool overwrite ) |
Delphi | |
---|---|
public function Edit( inputFile: String; handler: ImageEditor.EditPageEventHandler; outputFile: String; format: ImageFileFormat; overwrite: Boolean ): Boolean; |
JScript | |
---|---|
public function Edit( inputFile : String, handler : ImageEditor.EditPageEventHandler, outputFile : String, format : ImageFileFormat, overwrite : boolean ) : boolean; |
Managed Extensions for C++ | |
---|---|
public: bool Edit( string* inputFile, ImageEditor.EditPageEventHandler* handler, string* outputFile, ImageFileFormat format, bool overwrite ) |
C++/CLI | |
---|---|
public: bool Edit( String^ inputFile, ImageEditor.EditPageEventHandler^ handler, String^ outputFile, ImageFileFormat format, bool overwrite ) |
Parameters
- inputFile
- Input file name.
- handler
- Input pages processing handler.
- outputFile
- Output file name.
- format
- Output file format.
- overwrite
- If true, overwrite existing file. Otherwise append to the file.
To save in the same format as input file set
To save in the same format as appnded output file set
To save in the same format based on extension output file name set
If
format
to ClearImageNet.ImageFileFormat.inputFileFormat
To save in the same format as appnded output file set
format
to ClearImageNet.ImageFileFormat.outputFileFormat
If output file does not exists, input file format will be used.To save in the same format based on extension output file name set
format
to ClearImageNet.ImageFileFormat.outputFileExtension
If output file does not exists, input file format will be used.If
handler
is set to null, method can perform just format conversion.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family