AnchoringBehavior.SetLeftAnchor Method (Double)
Anchors the ShapeField's left side to the vertical line which is a distance of [parent ShapeElement's width multiplied by percentage] relative to the parent ShapeElement's left side.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
'Declaration Public Sub SetLeftAnchor ( _ percentage As Double _ )
public void SetLeftAnchor( double percentage )
public: void SetLeftAnchor( double percentage )
member SetLeftAnchor : percentage:float -> unit
public function SetLeftAnchor( percentage : double )
The percentage of the parent ShapeElement's width that will define the vertical line to anchor to. (1.0 is 100%)
Anchors the left side of the ShapeField to the vertical line that is a distance of [width of parent ShapeElement multiplied by percentage] relative to the left 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.