TX Spell .NET for WPF

DictionariesDirectoryPath Property

Property|Introduced in 9.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.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 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; }

Examples

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}");
}