TX Text Control .NET for WPF

LoadedFile Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the name and path of the file that has been loaded.

Syntax

public string LoadedFile { get; }

Examples

The following example reads LoadSettings.LoadedFile after the template has been loaded.

LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Loaded File: {loadSettings.LoadedFile}");

Limitations

Read only.