Skip to main content

ApiPage

Class representing a document page.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddObjectFloatObjectAdds an available object to a page.
GetAllAnnotsApiBaseAnnotation[]Gets all annots on page
GetAllDrawingsDrawing[]Gets all drawing objects from the page.
GetAllWidgetsApiWidget[]Gets page widgets
GetClassType"page"Returns a type of the ApiPage class.
GetIndexnumberGets page index
GetRotationnumberGets page rotation angle
GetSelectedTextstringGets selected text on page
GetSelectionQuadsQuad[]Gets page selection quads
GetTextstringGets all text content on the page.
GetTextWithQuadsTextWithQuads[]Gets all text content on the page with quads per line.
RecognizeContentDrawing[]Recognizes content on the page and returns an array of recognized objects.
SearchQuads[]Search words and returns their quads.
SetRotationbooleanSets page rotation angle
SetSelectionbooleanSets page selection.