TRVSpellChecker.LanguageIndex

<< Click to display table of contents >>

TRVSpellChecker.LanguageIndex

Specifies the index of the active spell checking language (dictionary).

property LanguageIndex: Integer;

This property is added for a convenience.

A valid range of values for this property is 0 .. AvailableLanguages.Count-1.

Assigning to this property changes the active spelling checking language (dictionary). It is identical to assigning Language = AvailableLanguages[LanguageIndex].

This property returns the index of the currently used spelling checking language (dictionary), i.e. index of CurrentLanguage in AvailableLanguages.