DS Server

Javascript: DocumentViewerController.annotations Property

Property

Description

Controls annotation import/export, stamp definitions, and annotation UI. Available after initialize() completes.

Syntax

<Annotations> DocumentViewerController.annotations

Examples

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());