Automatically deskew image
Visual Basic |
---|
Public Function AutoDeskew() As Double |
Value range is from -45 degrees to 45 degrees. Value is negative, if image skewed counterclockwise and positive if image is skewed clockwise.
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.
VB Example (Visual Basic) | Copy Code |
---|---|
Public Sub T_AutoDeskew(ByRef Rep As CiRepair) Rep.AutoDeskew End Sub |