SavedFile Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property SavedFile As StringExamples
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}");Dim saveSettings As New SaveSettings()
textControl.Text = "Quarterly results"
textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
Console.WriteLine($"Saved File: {saveSettings.SavedFile}")Limitations
Read only.