←Select platform

SliceCommandEventArgs Constructor

Summary

Initializes a new SliceCommand with explicit parameters.

Syntax

C#
VB
C++
Public Function New( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal sliceImage As Leadtools.RasterImage, _ 
   ByVal sliceRectangle As Leadtools.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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly