AnchoringBehavior.SetBottomAnchor Method (NodeShape, AnchoringBehavior.Edge, Double)

Anchors the bottom of the ShapeField to a particular side of a sibling NodeShape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Sub SetBottomAnchor ( _
    sibling As NodeShape, _
    side As AnchoringBehavior..::..Edge, _
    margin As Double _
)
public void SetBottomAnchor(
    NodeShape sibling,
    AnchoringBehavior..::..Edge side,
    double margin
)
public:
void SetBottomAnchor(
    NodeShape^ sibling, 
    AnchoringBehavior..::..Edge side, 
    double margin
)
member SetBottomAnchor : 
        sibling:NodeShape * 
        side:AnchoringBehavior..::..Edge * 
        margin:float -> unit 
public function SetBottomAnchor(
    sibling : NodeShape, 
    side : AnchoringBehavior..::..Edge, 
    margin : double
)

Parameters

  • margin
    Type: System.Double
    The margin (in world units) between the ShapeField's bottom side and the specified side of the sibling NodeShape.

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

SetBottomAnchor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace