TX Text Control .NET for WPF

Author Property

Property|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the document's author. It is an empty string, if there is no author saved in the loaded document.

Syntax

public string Author { get; }

Examples

The following example reads LoadSettings.Author after the template has been loaded.

LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Author: {loadSettings.Author}");

Limitations

Read only.