FilePath Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK 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; }Public ReadOnly Property FilePath As StringExamples
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.");Console.WriteLine($"File Path: {userDictionary.FilePath}")
Console.WriteLine("User Dictionary is ready for use.")Limitations
Read only.