This object provides functionalities for working with annotations.

Syntax

TXDocumentViewer.annotations

Methods

Method Description
export Exports all annotations as a JSON string.
getStampList Returns an array of available annotation stamp objects.
load Loads annotations from a JSON string.
setStampList Loads a custom stamp list into the annotations.
showSidebar Shows or hides the sidebar that contains the comments.
showToolbar Shows or hides the annotations toolbar.