GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / GetSkewAngle Method / GetSkewAngle(Int32,Boolean) Method
GdPicture image identifier.
Determines if the engine must be optimistic in the skew detection. For example, set true when you know the image has a skew and false otherwise. If you do not know which to choose, suggested value is false.





In This Topic
GetSkewAngle(Int32,Boolean) Method
In This Topic
Determines the skew angle of an image in degrees. It has a parameter to activate/unactivate optimistic mode.
Syntax
'Declaration
 
Public Overloads Function GetSkewAngle( _
   ByVal ImageID As Integer, _
   ByVal Optimistic As Boolean _
) As Single
public float GetSkewAngle( 
   int ImageID,
   bool Optimistic
)
public function GetSkewAngle( 
    ImageID: Integer;
    Optimistic: Boolean
): Single; 
public function GetSkewAngle( 
   ImageID : int,
   Optimistic : boolean
) : float;
public: float GetSkewAngle( 
   int ImageID,
   bool Optimistic
) 
public:
float GetSkewAngle( 
   int ImageID,
   bool Optimistic
) 

Parameters

ImageID
GdPicture image identifier.
Optimistic
Determines if the engine must be optimistic in the skew detection. For example, set true when you know the image has a skew and false otherwise. If you do not know which to choose, suggested value is false.

Return Value

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

This method requires the Image Documents component to run.

See Also