AnchoringBehavior::SetLeftAnchor Method (NodeShape^, AnchoringBehavior::Edge, Double)
Visual Studio 2015
Anchors the ShapeField's left side to a particular side of a sibling ShapeElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: void SetLeftAnchor( NodeShape^ sibling, AnchoringBehavior::Edge side, double margin )
Parameters
- sibling
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::NodeShape^
The sibling NodeShape to anchor to.
- side
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::AnchoringBehavior::Edge
The side of the sibling ShapeElement to anchor to.
- margin
-
Type:
System::Double
The margin (in world units) between the ShapeField's left side and the specified side of the sibling ShapeElement.
Anchors the left side of the ShapeField to a particular side of a sibling ShapeElement.
Show: