ClearImage .NET API
Rotation Property (ImageEditor)





Inlite.ClearImageNet Namespace > ImageEditor Class : Rotation Property
Gets image rotation information
Syntax
'Declaration
 
Public ReadOnly Property Rotation As PageRotation
'Usage
 
Dim instance As ImageEditor
Dim value As PageRotation
 
value = instance.Rotation
public PageRotation Rotation {get;}
public read-only property Rotation: PageRotation; 
public function get Rotation : PageRotation
public:
property PageRotation Rotation {
   PageRotation get();
}

Property Value

For text-based rotation returns then none, upsideDown, left, or right values
For graphics-based rotation returns portrait or leftOrRight values.
Remarks

Measures rotation of the image.  After this value is obtained RotationConfidence property is set.
If the image contains enough capital letters of the Latin alphabet, the value is noneupsideDownleft, or right.
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,  the value is portrait. If the most lines are vertical,  the value is leftOrRight.
If neither sufficient letters or lines are present this,  the value is unknown.

See Also

Reference

ImageEditor Class
ImageEditor Members