Click or drag to resize

ProgressEventHandler Delegate

Handles the progress event for operations.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public delegate void ProgressEventHandler(
	Object sender,
	ProgressEventArgs e
)

Parameters

sender
Type: SystemObject
The object raising the event.
e
Type: Atalasoft.ImagingProgressEventArgs
The ProgressEventArgs for this event.
Remarks
The progress callback can be handled to show progress while an image is being loaded, saved, or processed. Current and Total usually signifies the image row in pixels. When downloading a file, Current and Total represents the number of bytes. It can also be used to cancel the current action. When handling a progress event, the percentage can be calculated by dividing Current by Total. Some actions will cause multiple progresses (0 - 100%) to be called.
See Also

Reference

Atalasoft.ImagingProgressEventHandler