Applies only to document images (images with text) to get document orientation.

Can detect only 0° or 90° orientation. Cannot detect down-up, inverted text.

Useful to adjust a document from portrait to landscape.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int CalcOrientation()
Public Function CalcOrientation As Integer
public:
int CalcOrientation()

Return Value

Returns the document angle

See Also