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 > RasterCommand Class : Progress Event



Implements Progress. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event Progress As EventHandler(Of RasterCommandProgressEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterCommand
Dim handler As EventHandler(Of RasterCommandProgressEventArgs)
 
AddHandler instance.Progress, handler
C++/CLI 
public:
event EventHandler<RasterCommandProgressEventArgs^>^ Progress

Event Data

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

PropertyDescription
Cancel Gets or sets a value indicating whether the image processing command should be canceled. Supported in Silverlight, Windows Phone 7
Percent Gets the percentage completion of the command. Supported in Silverlight, Windows Phone 7

Example

For an example, refer to RasterCommand.

Remarks

The RasterCommand.Progress event is fired when the RasterCommand.Run method. RasterCommandProgressEventArgs provides data on the current progress of the image processing command. You can use this data to provide visual feedback to the user.

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