TX Spell .NET for Windows Forms

Synonym Class

Class|Introduced in 7.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll

Description

The Synonym class represents a synonym for a specific word or phrase.

Syntax

public class Synonym

Examples

The following example includes the id value from a Synonym object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"ID: {synonym.ID}");
Console.WriteLine("Synonym is ready for use.");

Members

Properties

PropertyDescription
IDGets the lowercased identifier that represents the synonym inside the corresponding synonym list.
NameGets the synonym's name which is the case sensitive equivalent to the Synonym.ID property.
TextGets the synonym's text which is composed of the synonym's name and optional additional information.