ClearImage COM Server
AutoDeskew Method
See Also  Example  Send Feedback
CiRepair Object : AutoDeskew Method

Description

Automatically deskew image

Syntax

Visual Basic
Public Function AutoDeskew() As Double

Return Type

Value range is from -45 degrees to 45 degrees. Value is negative, if image skewed counterclockwise and positive if image is skewed clockwise.

Remarks

Deskews image to the nearest vertical or horizontal axis, on the basis of measurements taken of the overall image object.   It is also possible to use a zone as a reference for the measurement, in which case the Parent of the zone object is deskewed based on image data inside the zone.

Example

VB Example (Visual Basic)Copy Code
Public Sub T_AutoDeskew(ByRef Rep As CiRepair)
  Rep.AutoDeskew
End Sub

See Also

© 1992-2011. Inlite Research, Inc. All Rights Reserved.