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

In This Topic
    GetCharPoints Method (RenderTextFragmentBase)
    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 GetCharRect method, this method works for rotated text as well.
    See Also