[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.GetAnchorRect

GetAnchorRect Method

GetAnchorRect(C1Anchor, ref RectangleD, ref bool)

Calculates the location of a C1Anchor contained in the Anchors collection of the render object that produced the current fragment.

Declaration
public virtual void GetAnchorRect(C1Anchor anchor, ref RectangleD anchorRect, ref bool anchorVisible)
Parameters
Type Name Description
C1Anchor anchor

The C1Anchor object to get the location of.

RectangleD 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.

bool anchorVisible

OUT: true if anchor appears in the current fragment, false otherwise.