TX Text Control .NET Server

SavedFile Property

Property
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

Read only. Gets the name and path of the file that has been saved. It is set to an empty string, if text has been saved in a byte array or as a string.

Syntax

public string SavedFile { get; }

Examples

The following example reads SaveSettings.SavedFile after the document has been saved.

SaveSettings saveSettings = new();
textControl.Text = "Quarterly results";
textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
Console.WriteLine($"Saved File: {saveSettings.SavedFile}");

Limitations

Read only.