PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderEmptyFragment Class / GetAnchorRect Method
The C1Anchor object to get the location of.
OUT: The bounds of anchor in the fragment in 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 (RenderEmptyFragment)
    In This Topic
    Calculates the location of a C1Anchor contained in the 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 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