TX Text Control .NET Server

Javascript: TXTextControl.SaveSettings.documentSubject Property

Property|Introduced in 28.0

Description

Sets the document's subject string which will be saved in the document.

Syntax

<string> TXTextControl.SaveSettings.documentSubject

Examples

The following example demonstrates TXTextControl.SaveSettings.documentSubject in a practical document-editing workflow. It sets the document's subject string which will be saved in the document.

function inspectDocumentSubject(saveSettings) {
    const documentSubject = saveSettings.documentSubject;
    console.log("document subject:", documentSubject);
}