LEADTOOLS (Leadtools assembly)

Progress Event (RasterCommandProcessor)

Show in webframe







Occurs during the processing of the image processing commands.
Syntax
'Declaration
 
Public Event Progress As EventHandler(Of RasterCommandProcessorProgressEventArgs)
'Usage
 
Dim instance As RasterCommandProcessor
Dim handler As EventHandler(Of RasterCommandProcessorProgressEventArgs)
 
AddHandler instance.Progress, handler

            

            
add_Progress(function(sender, e))
remove_Progress(function(sender, e))

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 Leadtools.RasterImage object being processed.
ImageNumber Gets the index of the current Leadtools.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

See Also

Reference

RasterCommandProcessor Class
RasterCommandProcessor Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.