PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderAreaFragment Class / GetAnchorRect Method
The C1Anchor object to get the location of.
OUT: The bounds of anchor in the fragment in C1PrintDocument.ResolvedUnit units. (Note that this parameter is assigned a valid value only if anchorVisible is true on method return.
OUT: true if anchor appears in the current fragment, false otherwise.

In This Topic
    GetAnchorRect Method (RenderAreaFragment)
    In This Topic
    Calculates the location of a C1Anchor contained in the RenderObject.Anchors collection of the render object that produced 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 C1Anchor object to get the location of.
    anchorRect
    OUT: The bounds of anchor in the fragment in C1PrintDocument.ResolvedUnit units. (Note that this parameter is assigned a valid value only if anchorVisible is true on method return.
    anchorVisible
    OUT: true if anchor appears in the current fragment, false otherwise.
    See Also