TX Text Control .NET Server

Javascript: TXTextControl.SaveSettings.documentTitle Property

Property|Introduced in 28.0

Description

Sets the document's title that will be saved in the document.

Syntax

<string> TXTextControl.SaveSettings.documentTitle

Examples

The following example demonstrates TXTextControl.SaveSettings.documentTitle in a practical document-editing workflow. It sets the document's title that will be saved in the document.

function inspectDocumentTitle(saveSettings) {
    const documentTitle = saveSettings.documentTitle;
    console.log("document title:", documentTitle);
}