C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderTocItemFragment Class / GetCharRangeRects Method
The index of the first character in the range in the current fragment.
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.)

In This Topic
GetCharRangeRects Method (RenderTocItemFragment)
In This Topic
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).
Syntax
'Declaration
 
Public Function GetCharRangeRects( _
   ByVal startCharIndex As Integer, _
   ByVal length As Integer _
) As RectangleD()
 

Parameters

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

Return Value

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