CreatorApplication Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the application, which has created the current document. It is an empty string, if a creator application is not contained in the current document.
Syntax
public string CreatorApplication { get; set; }Public Property CreatorApplication As StringExamples
The following example configures document settings for the current document by using DocumentSettings.CreatorApplication.
DocumentSettings documentSettings = textControl.DocumentSettings;
documentSettings.CreatorApplication = "Quarterly report";
if (!string.IsNullOrWhiteSpace(documentSettings.CreatorApplication))
{
Console.WriteLine($"Creator Application: {documentSettings.CreatorApplication}");
}
documentSettings.DocumentTitle = "Quarterly results";
documentSettings.Author = "Finance team";Dim documentSettings As DocumentSettings = textControl.DocumentSettings
documentSettings.CreatorApplication = "Quarterly report"
If Not String.IsNullOrWhiteSpace(documentSettings.CreatorApplication) Then
Console.WriteLine($"Creator Application: {documentSettings.CreatorApplication}")
End If
documentSettings.DocumentTitle = "Quarterly results"
documentSettings.Author = "Finance team"