Compartir a través de


AnchoringBehavior.SetLeftAnchor Method (NodeShape, Double)

Anchors the ShapeField's left side at a specified distance from 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

'Declaración
Public Sub SetLeftAnchor ( _
    sibling As NodeShape, _
    percentage As Double _
)
public void SetLeftAnchor(
    NodeShape sibling,
    double percentage
)
public:
void SetLeftAnchor(
    NodeShape^ sibling, 
    double percentage
)
member SetLeftAnchor : 
        sibling:NodeShape * 
        percentage:float -> unit 
public function SetLeftAnchor(
    sibling : NodeShape, 
    percentage : double
)

Parameters

  • percentage
    Type: System.Double
    The gap between the ShapeField and the sibling, expressed as a fraction of the width of the sibling. 1.0 == 100%

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

SetLeftAnchor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace