DictionariesDirectoryPath Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the path to the default dictionaries folder. The default value is "(Auto)" that determines the Dictionaries directory at the application's root folder or in the \Assembly\ subdirectory in the development machine's TX Spell .NET installation directory.
Syntax
public string DictionariesDirectoryPath { get; set; }Public Property DictionariesDirectoryPath As StringExamples
The following example uses TXSpellChecker.DictionariesDirectoryPath to configure dictionaries directory path as part of the txspell checker workflow. The configured value is checked before the workflow continues.
tXSpellChecker.DictionariesDirectoryPath = "document.docx";
if (!string.IsNullOrWhiteSpace(tXSpellChecker.DictionariesDirectoryPath))
{
Console.WriteLine($"Dictionaries Directory Path: {tXSpellChecker.DictionariesDirectoryPath}");
}tXSpellChecker.DictionariesDirectoryPath = "document.docx"
If Not String.IsNullOrWhiteSpace(tXSpellChecker.DictionariesDirectoryPath) Then
Console.WriteLine($"Dictionaries Directory Path: {tXSpellChecker.DictionariesDirectoryPath}")
End If