Skip to main content

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;

Parameters

Name Type
ARecordIndex Integer
AItemIndex Integer
AHighlightedText string

Returns

Type
Integer

Remarks

This function works in the same way as the GetTextStartPositionByRowIndex function. The only difference is that the GetTextStartPositionByRecordIndex function accepts a target record’s index as the ARecordIndex parameter instead of the record’s row index.

See Also