GdPicture.NET Reference Guide
GetSkewAngle(Int32,Single) Method





GdPicture14 Namespace > GdPictureImaging Class > GetSkewAngle Method : GetSkewAngle(Int32,Single) Method
GdPicture image identifier.
Maximum angle of research. IE: set 10 to perform a skew research about ±10 degrees. A value lower than 15 is suggested.
Determines the skew angle of an image in degrees. It has a parameter for max angle of research.
Syntax
'Declaration
 
Public Overloads Function GetSkewAngle( _
   ByVal ImageID As Integer, _
   ByVal MaxAngleOfResearch As Single _
) As Single
public float GetSkewAngle( 
   int ImageID,
   float MaxAngleOfResearch
)
public function GetSkewAngle( 
    ImageID: Integer;
    MaxAngleOfResearch: Single
): Single; 
public function GetSkewAngle( 
   ImageID : int,
   MaxAngleOfResearch : float
) : float;
public: float GetSkewAngle( 
   int ImageID,
   float MaxAngleOfResearch
) 
public:
float GetSkewAngle( 
   int ImageID,
   float MaxAngleOfResearch
) 

Parameters

ImageID
GdPicture image identifier.
MaxAngleOfResearch
Maximum angle of research. IE: set 10 to perform a skew research about ±10 degrees. A value lower than 15 is suggested.

Return Value

Image skew in degrees.
Remarks
Use the GetStat() method to determine if this method has succeeded.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
Overload List
AutoDeskew(Int32) Method
GetStat Method