Freigeben über


AnchoringBehavior.SetBottomAnchor Method (NodeShape, Double)

Anchors the bottom of the ShapeField at a distance from the top of a sibling.

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, _
    percentage As Double _
)
public void SetBottomAnchor(
    NodeShape sibling,
    double percentage
)
public:
void SetBottomAnchor(
    NodeShape^ sibling, 
    double percentage
)
member SetBottomAnchor : 
        sibling:NodeShape * 
        percentage:float -> unit 
public function SetBottomAnchor(
    sibling : NodeShape, 
    percentage : double
)

Parameters

  • percentage
    Type: System.Double
    The spacing between the shapes, as a fraction of the height of the sibling. 1.0 == 100%

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

SetBottomAnchor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace