TX Spell .NET for Windows Forms

FilePath Property

Property|Introduced in 7.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

Gets the name and path of the file that has been used to load this user dictionary or where it has been saved to. If the user dictionary was neither loaded from nor saved as a file, the property returns null.

Syntax

public string FilePath { get; }

Examples

The following example includes the file path value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"File Path: {userDictionary.FilePath}");
Console.WriteLine("User Dictionary is ready for use.");

Limitations

Read only.