The TXDocument
TXDocumentViewer
Method | Description |
---|---|
add |
The add |
cancel |
Cancels a currently active search process. |
download |
Downloads the current document as an Adobe PDF document. |
export | Exports all annotations as a JSON string. |
find | Finds a string in the currently loaded document. |
get |
Returns an array of available annotation stamp objects. |
get |
Returns an array of all contained form fields with it's values completed by the user. |
load | Loads annotations from a JSON string. |
load |
Loads a document from memory into the Document |
lock |
Locks the zoom to 100%. |
next |
Moves to the next found search result and scrolls the Document |
print |
Prints the content of the document using browser printing functionality. |
scroll |
Scrolls to the specific page in the currently loaded document. |
select |
Selects the search input box in the Document |
set |
Loads a custom stamp list into the annotations. |
toggle |
Toggles between the browser full screen mode and the normal docked mode of the Document |
toggle |
Toggles the line text selection functionality of the Document |
toggle |
Toggles the display of the document thumbnail sidebar of the Document |
toggle |
Toggles the display of the undocked toolbar of the Document |
validate | Validates the form fields and returns true, in case all required fields are completed and false, in case fields are missing. |
Property | Description |
---|---|
show |
Gets or sets whether to show an information bar that informs the user that a document contains fillable forms. |
show |
Shows or hides the sidebar that contains the comments. |
show |
Shows or hides the annotations toolbar. |
Learn more about the Javascript: TXDocument