Skip to main content

TdxCustomSpellChecker.IsValidWord(AnsiString) Method

Checks whether AWord is correct.

Declaration

function IsValidWord(const AWord: AnsiString): Boolean; overload;

Parameters

Name Type
AWord AnsiString

Returns

Type
Boolean

Remarks

The IsValidWord method returns True, if AWord is found in the dictionary, or it is to be skipped (if specified via spelling options – see the SpellingOptions property).

The IsValidWord method raises the OnCheckWord event. If the OnCheckWord event is handled, the IsValidWord method doesn’t perform the default check (if the event’s AHandled parameter is True), and returns the result specified by the event’s AValid parameter.

See Also