TX Text Control .NET Server

CreatorApplication Property

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

Description

Sets the application, which has created the document.

Syntax

public string CreatorApplication { get; set; }

Examples

The following example configures how the current document is exported to WordprocessingML by using SaveSettings.CreatorApplication.

textControl.Text = "Quarterly results";
SaveSettings saveSettings = new();

saveSettings.CreatorApplication = "Quarterly report";
if (!string.IsNullOrWhiteSpace(saveSettings.CreatorApplication))
{
    Console.WriteLine($"Creator Application: {saveSettings.CreatorApplication}");
}

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);