AnchoringBehavior.SetTopAnchor Method (NodeShape, Double)

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

Syntax

'宣言
Public Sub SetTopAnchor ( _
    sibling As NodeShape, _
    percentage As Double _
)
'使用
Dim instance As AnchoringBehavior
Dim sibling As NodeShape
Dim percentage As Double

instance.SetTopAnchor(sibling, percentage)
public void SetTopAnchor(
    NodeShape sibling,
    double percentage
)
public:
void SetTopAnchor(
    NodeShape^ sibling, 
    double percentage
)
public function SetTopAnchor(
    sibling : NodeShape, 
    percentage : double
)

Parameters

Permissions

See Also

Reference

AnchoringBehavior Class

AnchoringBehavior Members

SetTopAnchor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace