Gets the geometric area of the character with the specified index.
'Declaration
Public Function GetCharRect( _
ByVal As System.Integer _
) As RectangleD
public RectangleD GetCharRect(
System.int
)
Parameters
- charIndex
- 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 method in that case instead).