[]
        
(Showing Draft Content)

C1.C1Preview.RenderTextFragmentBase.GetCharRect

GetCharRect Method

GetCharRect(int)

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

Declaration
public RectangleD GetCharRect(int charIndex)
Parameters
Type Name Description
int charIndex

The index of the character in the current fragment.

Returns
Type Description
RectangleD

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(int) method in that case instead).