You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Crop, Auto Deskew & Auto Border Removal > AutoDeskew Method > AutoDeskew Method (Integer, Single)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.AutoDeskew Method (Integer, Single)

Tries to deskew a GdPicture image to about ± specified degrees. 

Deskewing an image can help a lot to do OCR, OMR, barcode detection or just improve the readability of an image.

C#
public GdPictureStatus AutoDeskew(
    int ImageID, 
    Single MaxAngleOfResearch
);
Visual Basic
Public Function AutoDeskew(
    ByVal ImageID As Integer, 
    ByVal MaxAngleOfResearch As Single
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
MaxAngleOfResearch 
Maximum angle of research. IE: set 10 to perform a skew research about ±10 degrees. A value lower that 15 are suggested.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.