Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpellCheckerAutoCorrectOptions.GetReplacement(string,string) Method

Returns a replacement for the specified text.

#Declaration

Delphi
function GetReplacement(const AText: string; out AReplacement: string): Boolean; virtual;

#Parameters

Name Type
AText string
AReplacement string

#Returns

Type
Boolean

#Remarks

This function searches for the AText‘s replacement in the Replacements collection. If the corresponding entry is found, it’s assigned to AReplacement, and the function returns True to indicate that the match was successful.

AText specifies the text for which a replacement is to be found.

AReplacement specifies the replacement for AText.

See Also