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