 | Orientation Enumeration |
Represents orientation
Namespace: Patagames.Ocr.EnumsAssembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
SyntaxPublic Enumeration Orientation
public enum class Orientation
Patagames.Ocr.Enums.Orientation = function();
Patagames.Ocr.Enums.Orientation.createEnum('Patagames.Ocr.Enums.Orientation', false);
Members| Member name | Value | Description |
|---|
| ORIENTATION_PAGE_UP | 0 |
Page up orientation
|
| ORIENTATION_PAGE_RIGHT | 1 |
Page right orientation
|
| ORIENTATION_PAGE_DOWN | 2 |
Page down orientation
|
| ORIENTATION_PAGE_LEFT | 3 |
Page left orientation
|
Remarks
Orientation Example:
| 1 Aaaa Aaaa Aaaa | ====================
| Aaa aa aaa aa | To left is a diagram of some(1) English and
| aaaaaa A aa aaa. | (2) Chinese text and a(3) photo credit.
| 2 |
| ####### c c C | Upright Latin characters are represented as A and a.
| ####### c c c | '←' represents a latin character rotated
| ← ####### c c c | anti-clockwise 90 degrees.
| ← ####### c c |
| ← ####### . c | Upright Chinese characters are represented C and c.
| 3 ####### c |
+------------------+ NOTA BENE: enum values here should match goodoc.proto
If you orient your head so that "up" aligns with Orientation,
then the characters will appear "right side up" and readable.
In the example above, both the English and Chinese paragraphs are oriented
so their "up" is the top of the page (page up). The photo credit is read
with one's head turned leftward ("up" is to page left).
See Also