LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)

SliceCommandEventArgs Constructor (SliceCommandEventArgs)

Show in webframe







The affected images.
The sliced images. It is the programmer's responsibility to free this image, when it is no longer needed, this member is updated only if SliceCommandFlags.CutSlices flag is used, else it will be null.
The bounding rectangle of the extracted slice.
Angle of deskewing. The amount of rotation is expressed in hundredths of degrees. For example, 500 means 5 degrees clockwise.
Initializes a new SliceCommand with explicit parameters.
Syntax
public SliceCommandEventArgs( 
   RasterImage image,
   RasterImage sliceImage,
   LeadRect sliceRectangle,
   int deskewAngle
)
'Declaration
 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal sliceImage As RasterImage, _
   ByVal sliceRectangle As LeadRect, _
   ByVal deskewAngle As Integer _
)
'Usage
 
Dim image As RasterImage
Dim sliceImage As RasterImage
Dim sliceRectangle As LeadRect
Dim deskewAngle As Integer
 
Dim instance As New SliceCommandEventArgs(image, sliceImage, sliceRectangle, deskewAngle)
public SliceCommandEventArgs( 
   RasterImage image,
   RasterImage sliceImage,
   LeadRect sliceRectangle,
   int deskewAngle
)

            

            
function SliceCommandEventArgs( 
   image ,
   sliceImage ,
   sliceRectangle ,
   deskewAngle 
)
public:
SliceCommandEventArgs( 
   RasterImage^ image,
   RasterImage^ sliceImage,
   LeadRect sliceRectangle,
   int deskewAngle
)

Parameters

image
The affected images.
sliceImage
The sliced images. It is the programmer's responsibility to free this image, when it is no longer needed, this member is updated only if SliceCommandFlags.CutSlices flag is used, else it will be null.
sliceRectangle
The bounding rectangle of the extracted slice.
deskewAngle
Angle of deskewing. The amount of rotation is expressed in hundredths of degrees. For example, 500 means 5 degrees clockwise.
Example
Refer to SliceCommandEventArgs example.
Requirements

Target Platforms

See Also

Reference

SliceCommandEventArgs Class
SliceCommandEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.