Author 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 or sets the author of the current document. It is an empty string, if there is no author contained in the current document.
Syntax
public string Author { get; set; }Public Property Author As StringExamples
The following example configures document settings for the current document by using DocumentSettings.Author.
DocumentSettings documentSettings = textControl.DocumentSettings;
documentSettings.Author = "Finance team";
if (!string.IsNullOrWhiteSpace(documentSettings.Author))
{
Console.WriteLine($"Author: {documentSettings.Author}");
}
documentSettings.DocumentTitle = "Quarterly results";
documentSettings.Author = "Finance team";Dim documentSettings As DocumentSettings = textControl.DocumentSettings
documentSettings.Author = "Finance team"
If Not String.IsNullOrWhiteSpace(documentSettings.Author) Then
Console.WriteLine($"Author: {documentSettings.Author}")
End If
documentSettings.DocumentTitle = "Quarterly results"
documentSettings.Author = "Finance team"