TextOrientation Object (ITextOrientation Interface)
This object represents the position of a text relative to the normal reading position.
Properties
Name | Type | Description |
---|---|---|
Application | Engine, read-only | Returns the Engine object. |
ReadingType | ReadingTypeEnum |
Specifies if the text on the page is written in horizontal lines, or vertical lines. This property is TRT_Unknown by default. |
RotationType | RotationTypeEnum |
Specifies the orientation of a text on a page relative to the normal reading position of the page. This property is RT_NoRotation by default, which means that the orientation is normal. |
Methods
Name | Description |
---|---|
CopyFrom | Initializes properties of the current object with values of similar properties of another object. |
IsEqualTo | Checks if the text orientation is equal to the specified orientation. |
Related objects
Output parameter
This object is the output parameter of the following methods:
- CreateTextOrientation method of the Engine object
- DetectOrientation method of the FRPage object
Input parameter
This object is passed as an input parameter to the following methods:
- FindPageSplitPosition method of the FRPage object
Samples
C# code
The object is used in the following demo tools: Camera OCR, Image Preprocessing.
See also
9/17/2024 3:14:40 PM