DictionariesDirectoryPath 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 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 TXSpell.DictionariesDirectoryPath to configure dictionaries directory path as part of the txspell workflow. The configured value is checked before the workflow continues.
tXSpell.DictionariesDirectoryPath = "document.docx";
if (!string.IsNullOrWhiteSpace(tXSpell.DictionariesDirectoryPath))
{
Console.WriteLine($"Dictionaries Directory Path: {tXSpell.DictionariesDirectoryPath}");
}tXSpell.DictionariesDirectoryPath = "document.docx"
If Not String.IsNullOrWhiteSpace(tXSpell.DictionariesDirectoryPath) Then
Console.WriteLine($"Dictionaries Directory Path: {tXSpell.DictionariesDirectoryPath}")
End If