AnchoringBehavior.CenterVertically Method (AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge, Double)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub CenterVertically ( _
topSide As AnchoringBehavior.Edge, _
sibling As ShapeField, _
bottomSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterVertically(
AnchoringBehavior.Edge topSide,
ShapeField sibling,
AnchoringBehavior.Edge bottomSide,
double percentage
)
public:
void CenterVertically(
AnchoringBehavior::Edge topSide,
ShapeField^ sibling,
AnchoringBehavior::Edge bottomSide,
double percentage
)
member CenterVertically :
topSide:AnchoringBehavior.Edge *
sibling:ShapeField *
bottomSide:AnchoringBehavior.Edge *
percentage:float -> unit
public function CenterVertically(
topSide : AnchoringBehavior.Edge,
sibling : ShapeField,
bottomSide : AnchoringBehavior.Edge,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- bottomSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Type: Double
.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.