AnchoringBehavior.SetBottomAnchor Method (ShapeField, AnchoringBehavior.Edge, Double)
Anchors the ShapeField's bottom side to a particular side of a sibling ShapeField.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub SetBottomAnchor ( _
sibling As ShapeField, _
side As AnchoringBehavior..::..Edge, _
margin As Double _
)
public void SetBottomAnchor(
ShapeField sibling,
AnchoringBehavior..::..Edge side,
double margin
)
public:
void SetBottomAnchor(
ShapeField^ sibling,
AnchoringBehavior..::..Edge side,
double margin
)
member SetBottomAnchor :
sibling:ShapeField *
side:AnchoringBehavior..::..Edge *
margin:float -> unit
public function SetBottomAnchor(
sibling : ShapeField,
side : AnchoringBehavior..::..Edge,
margin : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The sibling ShapeField to anchor to.
- side
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
The side of the sibling ShapeField to anchor to.
- margin
Type: System.Double
The margin (in world units) between the bottom of the ShapeField and the specified side of the sibling ShapeField.
Remarks
Anchors the bottom side of the ShapeField to a particular side of a sibling ShapeField.
.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.