PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTextFragment Class / GetCharPoints Method
The index of the character in the current fragment.

In This Topic
    GetCharPoints Method (RenderTextFragment)
    In This Topic
    Gets an array of four points defining the (possibly rotated) geometric area of the character with the specified index.
    Syntax
    'Declaration
     
    Public Function GetCharPoints( _
       ByVal charIndex As Integer _
    ) As PointD()
    public PointD[] GetCharPoints( 
       int charIndex
    )

    Parameters

    charIndex
    The index of the character in the current fragment.

    Return Value

    An array of four RectangleD structures representing the corners of the specified character's area, relative to the content area of the object (without spacing, borders, padding).
    Remarks
    Unlike the RenderTextFragmentBase.GetCharRect method, this method works for rotated text as well.
    See Also