PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTocItemFragment Class / GetAnchorRect Method
The anchor to test.
OUT: A RectangleD structure defining the area within the current fragment associated with anchor.
OUT: true if anchor is visible in the current fragment, false otherwise.

In This Topic
    GetAnchorRect Method (RenderTocItemFragment)
    In This Topic
    Gets a rectangle corresponding to a C1Anchor in the current fragment.
    Syntax
    'Declaration
     
    Public Overridable Sub GetAnchorRect( _
       ByVal anchor As C1Anchor, _
       ByRef anchorRect As RectangleD, _
       ByRef anchorVisible As Boolean _
    ) 
    public virtual void GetAnchorRect( 
       C1Anchor anchor,
       ref RectangleD anchorRect,
       ref bool anchorVisible
    )

    Parameters

    anchor
    The anchor to test.
    anchorRect
    OUT: A RectangleD structure defining the area within the current fragment associated with anchor.
    anchorVisible
    OUT: true if anchor is visible in the current fragment, false otherwise.
    See Also