[Visual
Basic] imagekitcontrolname_Progress(ByVal
Percent As Integer)
[Visual
C++] OnProgressimagekitcontrolname(short
Percent)
[VB.NET] imagekitcontrolname_Progress(ByVal
sender As System.Object, ByVal e As
AxImageKit9(A)Lib._IImageKitEvents_ProgressEvent)
[C#.NET] imagekitcontrolname_Progress(object
sender, AxImageKit9(A)Lib._IImageKitEvents_ProgressEvent e)
AxImageKit9ALib refers to the ANSI version, AXImageKit9Lib refers to the Unicode version.
Parameters
Name | Explanation |
---|---|
Percent | The percent of completion of the current process |
* The second parameter in VB.NET/C#.NET is e and it contains the Percent argument. (the first letter is lower case)
Explanation
The Progress event is generated when the following things occur:
- A file is loaded
- A file is saved
- The Vector.RasterToVector and the Vector.VectorToRaster methods are executed.
- When any Effect method is executed OTHER THAN the Effect.EndDibAccess, Effect.EndDibAccessVariant, Effect.StartDibAccess, Effect.StartDibAccessVariant, Effect.GetDibPixel, Effect.GetDibPixelVariant, Effect.SetDibPixel, and Effect.SetDibPixelVariant.
- When the File.FileLoadAsRawData, File.FileSaveAsRawData, File.LoadFile, File.LoadFileMem, File.SaveFile, and File.SaveFileMem methods are executed.
However, if the Caption, Message, or ButtonName properties have been set, the Progress event does not fire.
To cancel a process, set the Effect.Cancel, File.Cancel, or the Vector.Cancel property to True.