AnchoringBehavior.SetBottomAnchor Method (ShapeField, Double)
Anchors the bottom of the ShapeField at a distance from the top of a sibling.
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 ( _
sibling As ShapeField, _
percentage As Double _
)
public void SetBottomAnchor(
ShapeField sibling,
double percentage
)
public:
void SetBottomAnchor(
ShapeField^ sibling,
double percentage
)
member SetBottomAnchor :
sibling:ShapeField *
percentage:float -> unit
public function SetBottomAnchor(
sibling : ShapeField,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The sibling ShapeField to anchor to.
- percentage
Type: System.Double
The spacing between the shape fields, as a fraction of the height of the sibling. 1.0 == 100%
.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.