This event is generated when an effect is being processed, a file is being loaded or saved, or when a file is converted between vector and raster

[C++Builder]   imagekitcontrolnameProgress(TObject *Sender, short Percent)
[Delphi]   imagekitcontrolnameProgress(Sender: TObject; Percent: Smallint)

Parameters

Name Explanation
Percent The percent of completion of the current process

Explanation

The Progress event is generated when the following things occur:

1. A file is loaded.

2. A file is saved.

3. The Vector.RasterToVector and the Vector.VectorToRaster methods are executed.

4. 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.

5. 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.

 

The ImageKit10 VCL is a product created by Newtone Corporation