DS Server

Javascript: TXTextControl.SaveSettings.saveDocumentBackColor Property

Property|Introduced in 28.0

Description

Specifies whether or not the document background color is saved.

Syntax

<boolean> TXTextControl.SaveSettings.saveDocumentBackColor

Examples

The following example demonstrates TXTextControl.SaveSettings.saveDocumentBackColor in a practical document-editing workflow. It specifies whether or not the document background color is saved.

function inspectSaveDocumentBackColor(saveSettings) {
    const saveDocumentBackColor = saveSettings.saveDocumentBackColor;
    console.log("save document back color:", saveDocumentBackColor);
}