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

Tries to determines a GdPicture image skew about specific range of degrees.

C#
public Single GetSkewAngle(
    int ImageID, 
    Single MaxAngleOfResearch
);
Visual Basic
Public Function GetSkewAngle(
    ByVal ImageID As Integer, 
    ByVal MaxAngleOfResearch As Single
) As Single
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

Image skew in degrees.

Use the GetStat() function to determine if this function has succeeded.

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