AnchoringBehavior.SetBottomAnchor Method (AnchoringBehavior.Edge, Double)
Anchors the bottom of the ShapeField to a particular side of the parent ShapeElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub SetBottomAnchor ( _
side As AnchoringBehavior..::..Edge, _
margin As Double _
)
public void SetBottomAnchor(
AnchoringBehavior..::..Edge side,
double margin
)
public:
void SetBottomAnchor(
AnchoringBehavior..::..Edge side,
double margin
)
member SetBottomAnchor :
side:AnchoringBehavior..::..Edge *
margin:float -> unit
public function SetBottomAnchor(
side : AnchoringBehavior..::..Edge,
margin : double
)
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 bottom of the ShapeField and the specified side of the parent ShapeElement.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.