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

In This Topic
    GetCharPoints Method (RenderTocItemFragment)
    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