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).

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public RectangleD[] GetCharRangeRects(
	int startCharIndex,
	int length
)
Visual Basic
Public Function GetCharRangeRects ( _
	startCharIndex As Integer, _
	length As Integer _
) As RectangleD()

Parameters

startCharIndex
Type: System..::..Int32
The index of the first character in the range in the current fragment.
length
Type: System..::..Int32
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.)

Return Value

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

See Also