AnchoringBehavior::SetTopAnchor Method (AnchoringBehavior::Edge, Double)
Visual Studio 2015
Anchors the ShapeField's top side to a particular side of the parent ShapeElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- side
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::AnchoringBehavior::Edge
The side of the parent ShapeElement to anchor to.
- margin
-
Type:
System::Double
The margin (in world units) between the ShapeField's top side and the specified side of the parent ShapeElement.
Anchors the top side of the Shapefield to a particular side of the parent ShapeElement.
Show: