# Javascript: TXTextControl.SaveSettings.saveDocumentBackColor Property

> Specifies whether or not the document background color is saved.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.SaveSettings.saveDocumentBackColor Property
- **183 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/savedocumentbackcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/savedocumentbackcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/savedocumentbackcolor-property/llms-full.txt

---

### Description

Specifies whether or not the document background color is saved.

### Syntax

```javascript
<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.

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

---

## Nearby

- **Previous:** [Javascript: TXTextControl.SaveSettings.reportingMergeBlockFormat Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/reportingmergeblockformat-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.SaveSettings.userPassword Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/userpassword-property/llms-full.txt)
