AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : 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
Visual Basic |
---|
Public Sub DocumentShear( _ ByVal ShearAngle As Double, _ ByVal PadColor As Long, _ ByVal ShearType As enumShearType _ ) |
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
Value | Description |
---|---|
DocShearHorizontal | Horizontal shearing. |
DocShearVertical | Vertical shearing. |
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.