←Select platform

SliceCommandEventArgs Constructor

Summary

Initializes a new SliceCommand with explicit parameters.

Syntax
C#
VB
C++
Public Function New( _ 
   ByVal image As RasterImage, _ 
   ByVal sliceImage As RasterImage, _ 
   ByVal sliceRectangle As LeadRect, _ 
   ByVal deskewAngle As Integer _ 
) 

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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly