AnchoringBehavior::SetTopAnchor Method (Double)
Visual Studio 2015
Anchors the ShapeField's top side to the horizontal line which is a distance of [parent ShapeElement's height multiplied by percentage] relative to the parent ShapeElement's top side.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- percentage
-
Type:
System::Double
The percentage of the parent ShapeElement's height that will define the horizontal line to anchor to. (1.0 is 100%)
Anchors the top side of the ShapeField to the horizontal line that is a distance of [height of parent ShapeElement multiplied by percentage] relative to the top side of the parent ShapeElement.
Show: