CreatorApplication Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Sets the application, which has created the document.
Syntax
public string CreatorApplication { get; set; }Public Property CreatorApplication As StringExamples
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);textControl.Text = "Quarterly results"
Dim saveSettings As New SaveSettings()
saveSettings.CreatorApplication = "Quarterly report"
If Not String.IsNullOrWhiteSpace(saveSettings.CreatorApplication) Then
Console.WriteLine($"Creator Application: {saveSettings.CreatorApplication}")
End If
textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)