TdxSpellCheckerAutoCorrectOptions.GetReplacement(string,string) Method
Returns a replacement for the specified text.
Declaration
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