Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Anchors the ShapeField's left side to a particular side of a sibling ShapeElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub SetLeftAnchor ( _
sibling As NodeShape, _
side As AnchoringBehavior.Edge, _
margin As Double _
)
public void SetLeftAnchor(
NodeShape sibling,
AnchoringBehavior.Edge side,
double margin
)
public:
void SetLeftAnchor(
NodeShape^ sibling,
AnchoringBehavior::Edge side,
double margin
)
member SetLeftAnchor :
sibling:NodeShape *
side:AnchoringBehavior.Edge *
margin:float -> unit
public function SetLeftAnchor(
sibling : NodeShape,
side : AnchoringBehavior.Edge,
margin : double
)
Parameters
sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShapeThe sibling NodeShape to anchor to.
side
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.EdgeThe side of the sibling ShapeElement to anchor to.
margin
Type: System.DoubleThe margin (in world units) between the ShapeField's left side and the specified side of the sibling ShapeElement.
Remarks
Anchors the left side of the ShapeField to a particular side of a sibling 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.