LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Progress Event
See Also 
Leadtools.ImageProcessing Namespace > RasterCommandProcessor Class : Progress Event



Occurs during the processing of the image processing commands. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event Progress As EventHandler(Of RasterCommandProcessorProgressEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterCommandProcessor
Dim handler As EventHandler(Of RasterCommandProcessorProgressEventArgs)
 
AddHandler instance.Progress, handler

Event Data

The event handler receives an argument of type RasterCommandProcessorProgressEventArgs containing data related to this event. The following RasterCommandProcessorProgressEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Determine how to process or cancel the current command. Supported in Silverlight, Windows Phone 7
Command Gets the IRasterCommand object currently being executed. Supported in Silverlight, Windows Phone 7
CommandNumber Gets the index of the current RasterCommand in the Commands collection. Supported in Silverlight, Windows Phone 7
Image Gets the RasterImage object being processed. Supported in Silverlight, Windows Phone 7
ImageNumber Gets the index of the current RasterImage in the Images collection. Supported in Silverlight, Windows Phone 7
Percent Gets the percentage completion of the current command. Supported in Silverlight, Windows Phone 7
TotalCommands Gets the total number of commands to be executed. Supported in Silverlight, Windows Phone 7
TotalImages Gets the total number of images to be processed. Supported in Silverlight, Windows Phone 7

Example

For an example, refer to RasterCommandProcessor.

Remarks

You can use this event to get progress status, or to cancel the process.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also