Gets the geometric area of the character with the specified index.

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

Syntax

C#
public RectangleD GetCharRect(
	int charIndex
)
Visual Basic
Public Function GetCharRect ( _
	charIndex As Integer _
) As RectangleD

Parameters

charIndex
Type: System..::..Int32
The index of the character in the current fragment.

Return Value

A RectangleD structure representing the bounds of the specified character relative to the content area of the object (without spacing, borders, padding). The returned value may be Empty if the text is rotated (use the GetCharPoints(Int32) method in that case instead).

See Also