←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 IRasterCommand 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly