Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterCommandProcessorProgressEventArgs Constructor
See Also 
Leadtools.ImageProcessing Namespace > RasterCommandProcessorProgressEventArgs Class : RasterCommandProcessorProgressEventArgs Constructor



percent
The percentage completion of the current command.
command
The IRasterCommand object currently being executed.
commandNumber
The index of the current RasterCommand in the Commands collection.
totalCommands
The total number of commands to be executed.
image
The RasterImage object being processed.
imageNumber
The index of the current RasterImage in the Images collection.
totalImages
The total number of images to be processed.
Initializes a new instance of the RasterCommandProcessorProgressEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal percent As Integer, _
   ByVal command As IRasterCommand, _
   ByVal commandNumber As Integer, _
   ByVal totalCommands As Integer, _
   ByVal image As RasterImage, _
   ByVal imageNumber As Integer, _
   ByVal totalImages As Integer _
)
Visual Basic (Usage)Copy Code
Dim percent As Integer
Dim command As IRasterCommand
Dim commandNumber As Integer
Dim totalCommands As Integer
Dim image As RasterImage
Dim imageNumber As Integer
Dim totalImages As Integer
 
Dim instance As RasterCommandProcessorProgressEventArgs(percent, command, commandNumber, totalCommands, image, imageNumber, totalImages)
C# 
public RasterCommandProcessorProgressEventArgs( 
   int percent,
   IRasterCommand command,
   int commandNumber,
   int totalCommands,
   RasterImage image,
   int imageNumber,
   int totalImages
)
C++/CLI 
public:
RasterCommandProcessorProgressEventArgs( 
   int percent,
   IRasterCommand^ command,
   int commandNumber,
   int totalCommands,
   RasterImage^ image,
   int imageNumber,
   int totalImages
)

Parameters

percent
The percentage completion of the current command.
command
The IRasterCommand object currently being executed.
commandNumber
The index of the current RasterCommand in the Commands collection.
totalCommands
The total number of commands to be executed.
image
The RasterImage object being processed.
imageNumber
The index of the current RasterImage in the Images collection.
totalImages
The total number of images to be processed.

Example

For an example, refer to RasterCommandProcessor.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also