DS Server

Javascript: TXTextControl.documentSettings Property

Property|Introduced in 29.0

Description

The DocumentSettings class provides properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When such a document is saved with one of the Save methods all settings are automatically stored.

Syntax

<DocumentSettings> TXTextControl.documentSettings

Examples

The following example demonstrates TXTextControl.documentSettings in a practical document-editing workflow. The DocumentSettings class provides properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When such a document is saved with one of the Save methods all settings are automatically stored.

const documentSettings = tXTextControl.documentSettings;
console.log("document settings:", documentSettings);

Limitations

Read Only.