Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools.ImageProcessing Namespace > RasterCommand Class : Progress Event |
public event EventHandler<RasterCommandProgressEventArgs> Progress
'Declaration
Public Event Progress As EventHandler(Of RasterCommandProgressEventArgs)
'Usage
Dim instance As RasterCommand Dim handler As EventHandler(Of RasterCommandProgressEventArgs) AddHandler instance.Progress, handler
public event EventHandler<RasterCommandProgressEventArgs> Progress
typedef void (^LTRasterCommandProgress)(NSInteger percent, BOOL *cancel) - (BOOL)run:(LTRasterImage *)image progress:(nullable LTRasterCommandProgress)progressHandler error:(NSError **)error
public void addProgressListener(RasterImageProgressListener listener) public void removeProgressListener(RasterImageProgressListener listener)
add_Progress(function(sender, e)) remove_Progress(function(sender, e))
public: event EventHandler<RasterCommandProgressEventArgs^>^ Progress
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.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the image processing command should be canceled. |
Percent | Gets the percentage completion of the command. |