ClearImage 8 Help
Edit(String,EditPageEventHandler,String,ImageFileFormat,Boolean) Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageEditor Class > Edit Method : Edit(String,EditPageEventHandler,String,ImageFileFormat,Boolean) Method






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.
Edit file pages in ImageEditor.EditPageEventHandler

Syntax

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)
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
) 

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.

Remarks

To save in the same format as input file set 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.

Requirements

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

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.