LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

SliceCommandEventArgs Constructor (SliceCommandEventArgs)






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. .NET support WinRT support
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SliceCommandEventArgs Class
SliceCommandEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

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