[Visual
Basic] imagekitcontrolname_Progress(ByVal
Percent As Integer)
[Visual
C++] OnProgressimagekitcontrolname(short
Percent)
Parameters
Name | Explanation |
---|---|
Percent | The percent of completion of the current process |
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.