# SaveSettings.SaveDocumentBackColor Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > SaveSettings.SaveDocumentBackColor Property
- **535 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/savedocumentbackcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/savedocumentbackcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/savedocumentbackcolor-property/llms-full.txt

---

### Description

Specifies whether or not the document background color is saved. By default it is saved.

### Syntax

```csharp
public bool SaveDocumentBackColor { get; set; }
```

```vbnet
Public Property SaveDocumentBackColor As Boolean
```

### Examples

The following example configures how the current document is exported to WordprocessingML by using `SaveSettings.SaveDocumentBackColor`.

```csharp
textControl.Text = "Quarterly results";
SaveSettings saveSettings = new();

saveSettings.SaveDocumentBackColor = true;
if (saveSettings.SaveDocumentBackColor)
{
    Console.WriteLine("Save Settings: Save Document Back Color is enabled.");
}

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
```

```vbnet
textControl.Text = "Quarterly results"
Dim saveSettings As New SaveSettings()

saveSettings.SaveDocumentBackColor = True
If saveSettings.SaveDocumentBackColor Then
    Console.WriteLine("Save Settings: Save Document Back Color is enabled.")
End If

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
```

---

## Nearby

- **Previous:** [SaveSettings.SavedFile Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/savedfile-property/llms-full.txt)
- **Next:** [SaveSettings.SavedStreamType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/savedstreamtype-property/llms-full.txt)
