GraphicsFormats Xojo plugin |
|
RawBMPExporter.ProgressHandler Property
If delegate is assigned to this property then the exporter will report progress to the delegate method and the export can also be canceled from the delegate.
ProgressHandler as RawBitmap.ProgressDelegate {Read and Write}
Remarks
Signature for the delegate is:
AnyMethodName(value as UInt64, total as UInt64, extraInfo as UInt64, ByRef cancel as Boolean)
Where you can put any name for the method instead of AnyMethodName.
This class will put 100 in extraInfo parameter on the delegate method when exporting is completed. At other times the extraInfo parameter will contain thee number zero.
Note progress handler can also be used to keep user interface responsive in large operations. By putting the exporter in a thread and let its progress handler Yield.
See Also
RawBMPExporter Class