Back to Devexpress

TdxCustomSpellChecker.LoadDictionaries(Boolean) Method

vcl-dxspellchecker-dot-tdxcustomspellchecker-dot-loaddictionaries-x28-system-dot-boolean-x29.md

latest2.6 KB
Original Source

TdxCustomSpellChecker.LoadDictionaries(Boolean) Method

Loads dictionaries into the memory from dictionary files.

Declaration

delphi
procedure LoadDictionaries(AIgnoreDisabled: Boolean = True);

Parameters

NameType
AIgnoreDisabledBoolean

Remarks

The LoadDictionaries method loads dictionaries contained in the DictionaryItems collection. This method only loads enabled dictionaries (the dictionary’s Enabled property is True ), if AIgnoreDisabled is True. Otherwise, all dictionaries are loaded.

The LoadDictionaries method is called automatically when the spell-check application starts up, if the AutoLoadDictionaries property is True.

Dictionaries are loaded in a separate thread, if the UseThreadedLoad property is True.

If dictionary files are large enough, it may affect the application performance, if they are loaded at start up. You may want consider loading dictionaries at a later time. For this purpose, disable the auto load mode, and use the LoadDictionaries method to load dictionaries manually.

See Also

TdxAffixCompressionDictionary.DictionaryPath

TdxCustomSpellChecker.ActiveDictionaries

TdxCustomSpellChecker.UnloadDictionaries

TdxCustomSpellCheckerDictionary.Active

TdxCustomSpellCheckerDictionary.Enabled

TdxCustomSpellCheckerDictionary.Load

TdxCustomSpellCheckerDictionary.Loaded

TdxCustomSpellCheckerDictionary.Unload

TdxUserSpellCheckerDictionary.DictionaryPath

TdxCustomSpellChecker Class

TdxCustomSpellChecker Members

dxSpellChecker Unit