Implements Progress.
public event EventHandler<RasterCommandProgressEventArgs> Progress
Public Virtual Event Progress As EventHandler(Of RasterCommandProgressEventArgs)
public virtual 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. |
The Progress event is fired when the 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.
For an example, refer to RasterCommand.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET