[]
        
(Showing Draft Content)

C1.C1Preview.RenderTextFragmentBase.GetCharRangeRects

GetCharRangeRects Method

GetCharRangeRects(int, int)

Gets an array of bounding rectangles for a range of characters (in the returned array, each line in the specified range is represented by a separate RectangleD structure).

Declaration
public RectangleD[] GetCharRangeRects(int startCharIndex, int length)
Parameters
Type Name Description
int startCharIndex

The index of the first character in the range in the current fragment.

int length

The number of characters in the range. (If a number greater than the number of characters in the fragment is specified, no error is generated and all characters are included in the range.)

Returns
Type Description
RectangleD[]

An array of RectangleD structures, each structure corresponding to a line of text.