TcxDataFindCriteria.GetTextStartPositionByRecordIndex(Integer,Integer,string) Method
Returns a highlighted text match and its start position in a data item by the specified record and item indexes.
Declaration
function GetTextStartPositionByRecordIndex(ARecordIndex: Integer; AItemIndex: Integer; out AHighlightedText: string): Integer; overload;
Parameters
| Name | Type |
|---|---|
| ARecordIndex | Integer |
| AItemIndex | Integer |
| AHighlightedText | string |
Returns
| Type |
|---|
| Integer |
Remarks
This function works in the same way as the GetTextStartPositionByRowIndex function. Unlike this function, GetTextStartPositionByRecordIndex accepts the target record index as the ARecordIndex parameter instead of the record row index.
See Also