DS Server

Javascript: DocumentLoadSettings.loadEmbeddedComments Property

Property

Description

Controls whether embedded document comments are loaded as viewer annotations. When disabled, comments remain rendered in the document but are not imported as editable annotations.

Syntax

<boolean> DocumentLoadSettings.loadEmbeddedComments

Examples

The following example demonstrates documentloadsettings.loadEmbeddedComments in a practical Document Viewer workflow. Specifies whether comments from the document should be loaded as annotations.

const documentLoadSettings = {
    loadEmbeddedComments: true
};
console.log("load embedded comments:", documentLoadSettings.loadEmbeddedComments);