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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void SetLeftAnchor(
	NodeShape^ sibling,
	double percentage
)

Parameters

sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams::NodeShape^

The sibling NodeShape.

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%

Return to top
Show: