LoadDocumentBackColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Specifies whether or not the document background color is loaded. By default it is loaded.
Syntax
public bool LoadDocumentBackColor { get; set; }Public Property LoadDocumentBackColor As BooleanExamples
The following example configures how a WordprocessingML template is loaded by using LoadSettings.LoadDocumentBackColor.
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);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)