HyphenationListsDirectoryPath 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 hyphenation lists folder. The default value is "(Auto)" that determines the HyphenationLists 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 HyphenationListsDirectoryPath { get; set; }Public Property HyphenationListsDirectoryPath As StringExamples
The following example uses TXSpellChecker.HyphenationListsDirectoryPath to configure hyphenation lists directory path as part of the txspell checker workflow. The configured value is checked before the workflow continues.
tXSpellChecker.HyphenationListsDirectoryPath = "document.docx";
if (!string.IsNullOrWhiteSpace(tXSpellChecker.HyphenationListsDirectoryPath))
{
Console.WriteLine($"Hyphenation Lists Directory Path: {tXSpellChecker.HyphenationListsDirectoryPath}");
}tXSpellChecker.HyphenationListsDirectoryPath = "document.docx"
If Not String.IsNullOrWhiteSpace(tXSpellChecker.HyphenationListsDirectoryPath) Then
Console.WriteLine($"Hyphenation Lists Directory Path: {tXSpellChecker.HyphenationListsDirectoryPath}")
End If