ClearImage .NET API
MeasureRotation Method (CiTools)





Inlite.ClearImage Namespace > CiTools Class : MeasureRotation Method
Measure image rotation
Syntax
'Declaration
 
Public Function MeasureRotation() As EPageRotation
'Usage
 
Dim instance As CiTools
Dim value As EPageRotation
 
value = instance.MeasureRotation()
public EPageRotation MeasureRotation()
public function MeasureRotation(): EPageRotation; 
public function MeasureRotation() : EPageRotation;
public:
EPageRotation MeasureRotation(); 

Return Value

If the image contains enough capital letters of the Latin alphabet, this method returns ciRotNoneciRotUpsideDownciRotLeft, or ciRotRight.
If the image does not contain a sufficient number of good quality letters, then graphical features like lines are used.
If the most lines are horizontal, this method returns ciRotPortrait. If the most lines are vertical, this method returns ciRotLeftOrRight.
If neither sufficient letters or lines are present, this method returns ciRotUnknow.

 

Remarks

rConfidence property contains confidence level in percents.

See Also

Reference

CiTools Class
CiTools Members
MeasureSkew Method
MeasureRotation Method
rConfidence Property