Accusoft ImagXpress 13
DocumentShear Method

A double value which represents the shearAngle sets the number of degrees the image is sheared. Positive values shear counter-clockwise, while negative values shear clockwise.

Range: -70 to 70  

A long value which represents the pad color.

Valid values:

0 = black pixels will be added to pad the image.

0x7FFFFFFF = white pixels will be added to pad the image.

Typical: white

 

An enumShearType value which determines the type of shear to use.
Description
Shears current image clockwise or counter-clockwise.
Syntax
Visual Basic
Public Sub DocumentShear( _
   ByVal ShearAngle As Double, _
   ByVal PadColor As Long, _
   ByVal ShearType As enumShearType _
) 
Parameters
ShearAngle

A double value which represents the shearAngle sets the number of degrees the image is sheared. Positive values shear counter-clockwise, while negative values shear clockwise.

Range: -70 to 70  

PadColor

A long value which represents the pad color.

Valid values:

0 = black pixels will be added to pad the image.

0x7FFFFFFF = white pixels will be added to pad the image.

Typical: white

 

ShearType
ValueDescription
DocShearHorizontalHorizontal shearing.
DocShearVerticalVertical shearing.
An enumShearType value which determines the type of shear to use.
Remarks

Output

 

Using DocumentShear

1. Load a 1 bit image from a file or stream input.

2. Call DocumentShear.

3. The current image is sheared.

 

Note: Available in Professional Edition.

See Also

ImagXpress Object  | ImagXpress Members  | enumShearType Enumeration  | IPImageWasModified Property  | Document Image Processing  | Image Processing

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback