Javascript: DocumentViewerController.annotations Property
Description
Controls annotation import/export, stamp definitions, and annotation UI. Available after initialize() completes.
Syntax
<Annotations> DocumentViewerController.annotationsExamples
The following example demonstrates TXDocumentViewer.annotations in a practical Document Viewer workflow. Provides functionalities for working with Annotations.
const annotations = TXDocumentViewer.annotations;
annotations.showToolbar(true);
console.log("Current annotation data:", annotations.export());