ApiDocument
Class representing a document.
Methods
The following table lists the available methods.
| Method | Returns | Description |
|---|---|---|
| AddPage | ApiPage | Adds a new page to document. |
| ApplyRedact | boolean | Applies added redact. |
| GetAllFields | ApiField[] | Gets list of all fields in document. |
| GetClassType | "document" | Returns a type of the ApiDocument class. |
| GetFieldByName | ApiField | Gets field by it's name. |
| GetPage | ApiPage | Gets page by index from document. |
| GetPagesCount | number | Gets document pages count |
| RemovePage | boolean | Removes a page from the document by its index. |
| SearchAndRedact | ApiRedactAnnotation[] | Searchs words and adds redact to it. |