ApiPage
Represents the ApiPage class.
Methods
| Method | Returns | Description |
|---|---|---|
| AddObject | FloatObject | Adds an available object to a page. |
| GetAllAnnots | ApiBaseAnnotation | Gets all annots on page |
| GetAllDrawings | Drawing[] | Gets all drawing objects from the page. |
| GetAllWidgets | number | Gets page widgets |
| GetClassType | "page" | Returns a type of the ApiPage class. |
| GetIndex | number | Gets page index |
| GetRotation | number | Gets page rotation angle |
| GetSelectedText | string | Gets selected text on page |
| GetSelectionQuads | Quad[] | Gets page selection quads |
| RecognizeContent | Drawing[] | Recognizes content on the page and returns an array of recognized objects. |
| Search | Quads[] | Search words and returns their quads. |
| SetRotation | boolean | Sets page rotation angle |
| SetSelection | boolean | Sets page selection. |