# LoadSettings.LoadDocumentBackColor Property

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

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > LoadSettings.LoadDocumentBackColor Property
- **479 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/loaddocumentbackcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/loaddocumentbackcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/loaddocumentbackcolor-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property LoadDocumentBackColor As Boolean
```

### Examples

The following example configures how a WordprocessingML template is loaded by using `LoadSettings.LoadDocumentBackColor`.

```csharp
LoadSettings loadSettings = new();

loadSettings.LoadDocumentBackColor = true;
if (loadSettings.LoadDocumentBackColor)
{
    Console.WriteLine("Load Settings: Load Document Back Color is enabled.");
}

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
```

```vbnet
Dim loadSettings As New LoadSettings()

loadSettings.LoadDocumentBackColor = True
If loadSettings.LoadDocumentBackColor Then
    Console.WriteLine("Load Settings: Load Document Back Color is enabled.")
End If

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
```

---

## Nearby

- **Previous:** [LoadSettings.LastModificationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/lastmodificationdate-property/llms-full.txt)
- **Next:** [LoadSettings.LoadedFile Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/loadedfile-property/llms-full.txt)
