ImageGear Professional v18.2 > API Reference Guide > Formats Component API Reference > Formats Component Interfaces > IIGFormats Interface > IIGFormats Methods > ConvertBatch Method |
Converts a specified set of files from one ImageGear-supported image format type to another.
ConvertBatch(SrcDir as String, SrcFilter as String, DstDir as
String, DstFormat as enumIGSaveFormats, Options as
enumIGBatchOptions, LogFile as String, UseEvents as Boolean, ID
as Long)
Name | Description |
---|---|
SrcDir | Source directory. |
SrcFilter | Source files filter. |
DstDir | Destination directory. |
DstFormats | Destination file format. |
Options | Batch conversion options. See enumIGBatchOptions Enumeration values. |
LogFile | Conversion log file. |
UseEvents | Enables batch conversion events (BatchBeforeLoad Event and BatchBeforeSave Event) for this call. If True, batch conversion events are fired. Otherwise, events are not fired for this call. |
ID | Allows to specify unique ID that will be returned to you via parameters of the batch conversion events. This would allow you to determine the source of the event from within the event handler. Set it to 0, if you don't need to use it. |
N/A
N/A
None