←Select platform

Progress Event

Summary

Occurs during the processing of the image processing commands.

Syntax
C#
VB
C++
public event EventHandler<RasterCommandProcessorProgressEventArgs> Progress 
Public Event Progress As EventHandler(Of RasterCommandProcessorProgressEventArgs) 
public: 
event EventHandler<RasterCommandProcessorProgressEventArgs^>^ Progress 

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.
Command Gets the RasterCommand object currently being executed.
CommandNumber Gets the index of the current RasterCommand in the Commands collection.
Image Gets the RasterImage object being processed.
ImageNumber Gets the index of the current RasterImage in the Images collection.
Percent Gets the percentage completion of the current command.
TotalCommands Gets the total number of commands to be executed.
TotalImages Gets the total number of images to be processed.

Remarks

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

Example

For an example, refer to RasterCommandProcessor.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly