Javascript: TXTextControl.documentSettings Property
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.documentSettingsExamples
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.