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

In This Topic
    GetCharRect Method (RenderTocItemFragment)
    In This Topic
    Gets the geometric area of the character with the specified index.
    Syntax
    'Declaration
     
    Public Function GetCharRect( _
       ByVal charIndex As Integer _
    ) As RectangleD
    public RectangleD GetCharRect( 
       int charIndex
    )

    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).
    See Also