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