DocumentSubject 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
Gets the document's subject string. It is an empty string, if there is no subject saved in the loaded document.
Syntax
public string DocumentSubject { get; }Public ReadOnly Property DocumentSubject As StringExamples
The following example reads LoadSettings.DocumentSubject after the template has been loaded.
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Document Subject: {loadSettings.DocumentSubject}");Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Document Subject: {loadSettings.DocumentSubject}")Limitations
Read only.