TXTextControl.Proofing.DictionaryCollection.Add Method

Adds objects of the type Dictionary to the collection and validates them for spell checking and suggestion operations.

Syntax

[C#]
public int Add(Proofing.Dictionary dictionary);
[Visual Basic]
Public Function Add(dictionary As Proofing.Dictionary) As Integer
Parameter Description
dictionary

Specifies the dictionary.

Return Value

The collection index at which the dictionary has been added.

Remarks

This method throws an exception when called while the SpellCheckDialog is open (except for adding dictionaries of type UserDictionary when the built-in options dialog was invoked by a SpellCheckDialog's dialog button).