New Classes, Properties, Methods and Events

In TX Spell 7.0 the following new classes, properties, methods and events have been added:

Classes

Class Description
TXTextControl.Proofing.Synonym The Synonym class represents a synonym for a specific word or phrase.
TXTextControl.Proofing.SynonymGroup The SynonymGroup class refers to a collection of synonyms with common meaning to the word or phrase that was determined by the TXSpell.CreateSynonyms method.
TXTextControl.Proofing.SynonymList The SynonymList class represents a synonym list that gets its content from a thesaurus file.
TXTextControl.Proofing.SynonymListCollection An instance of the SynonymListCollection class contains all objects of type SynonymList that will be used by the first and second overload of the TXSpell.CreateSynonyms method.
TXTextControl.Proofing.UserDictionary The UserDictionary class represents a dictionary that allows to use, create and edit user dictionaries.

Properties

Property Description
TXTextControl.Proofing.Synonym.ID Gets the lowercased identifier that represents the synonym inside the corresponding synonym list.
TXTextControl.Proofing.Synonym.Name Gets the synonym's name which is the case sensitive equivalent to the Synonym.ID property.
TXTextControl.Proofing.Synonym.Text Gets the synonym's text which is composed of the synonym's name and optional additional information.
TXTextControl.Proofing.SynonymGroup.Language Gets the SynonymGroup's language.
TXTextControl.Proofing.SynonymGroup.PartOfSpeech Gets the part of speech or other meaning specific description for this SynonymGroup.
TXTextControl.Proofing.SynonymGroup.Synonyms Gets an array of synonyms with common meaning where the first entry also describes the meaning itself.
TXTextControl.Proofing.SynonymList.IsCreateSynonymsEnabled Gets or sets a value that indicates whether synonyms are created using this synonym list or not.
TXTextControl.Proofing.SynonymList.IsSelectedAsDefault Gets a value indicating whether the synonym list is selected as the default synonym list by the SynonymLanguage property.
TXTextControl.Proofing.SynonymList.Language Gets or sets the SynonymList's language.
TXTextControl.Proofing.SynonymList.Name Gets or sets the synonym list's name.
TXTextControl.Proofing.SynonymListCollection.Item Gets an object of type SynonymList from the collection.
TXTextControl.Proofing.TXSpell.AvailableSynonymLists Gets a list of all available synonym lists of the default synonym lists folder.
TXTextControl.Proofing.TXSpell.SynonymLanguage Gets or sets the name of a synonym list that is located at the default synonym lists folder.
TXTextControl.Proofing.TXSpell.SynonymLists Gets a collection of all added synonym lists.
TXTextControl.Proofing.TXSpellChecker.AvailableSynonymLists Gets a list of all available synonym lists of the default synonym lists folder.
TXTextControl.Proofing.TXSpellChecker.SynonymLanguage Gets or sets the name of a synonym list that is located at the default synonym lists folder.
TXTextControl.Proofing.TXSpellChecker.SynonymLists Gets a collection of all added synonym lists.
TXTextControl.Proofing.UserDictionary.FilePath Gets the name and path of the file that has been used to load this user dictionary or where it has been saved to.
TXTextControl.Proofing.UserDictionary.IsEditable Gets or sets a value indicating whether the user dictionary is editable or not.

Methods

Method Description
TXTextControl.Proofing.SynonymListCollection.Add Adds objects of type SynonymList to the collection.
TXTextControl.Proofing.SynonymListCollection.GetItem Gets a particular SynonymList from the collection by using the specified name.
TXTextControl.Proofing.SynonymListCollection.Remove Removes objects of type SynonymList from the collection.
TXTextControl.Proofing.TXSpell.CreateSynonyms Returns groups of synonyms that represent equivalent expressions for a specific text.
TXTextControl.Proofing.TXSpellChecker.CreateSynonyms Returns groups of synonyms that represent equivalent expressions for a specific text.
TXTextControl.Proofing.UserDictionary.AddWord Adds a word to the user dictionary.
TXTextControl.Proofing.UserDictionary.RemoveAllWords Removes all words from the user dictionary.
TXTextControl.Proofing.UserDictionary.RemoveWord Removes a word the user dictionary.
TXTextControl.Proofing.UserDictionary.Save Saves the complete content of the user dictionary in a file at the specified path or as a string array.
TXTextControl.Proofing.UserDictionary.ToArray Converts all user dictionary entries to a string array.