다음을 통해 공유


AnchoringBehavior.SetLeftAnchor Method (AnchoringBehavior.Edge, Double)

Anchors the ShapeField's left side to a particular side of the parent Shape.

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 ( _
    side As AnchoringBehavior.Edge, _
    margin As Double _
)
public void SetLeftAnchor(
    AnchoringBehavior.Edge side,
    double margin
)
public:
void SetLeftAnchor(
    AnchoringBehavior::Edge side, 
    double margin
)
member SetLeftAnchor : 
        side:AnchoringBehavior.Edge * 
        margin:float -> unit
public function SetLeftAnchor(
    side : AnchoringBehavior.Edge, 
    margin : double
)

Parameters

  • margin
    Type: System.Double

    The margin (in world units) between the ShapeField's left side and the specified side of the parent ShapeElement.

Remarks

Anchors the left side of the ShapeField to a particular side of the parent Shape.

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

SetLeftAnchor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace