Share via


AnchoringBehavior.CenterHorizontally 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 CenterHorizontally ( _
    leftSide As AnchoringBehavior.Edge, _
    sibling As ShapeField, _
    rightSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterHorizontally(
    AnchoringBehavior.Edge leftSide,
    ShapeField sibling,
    AnchoringBehavior.Edge rightSide,
    double percentage
)
public:
void CenterHorizontally(
    AnchoringBehavior::Edge leftSide, 
    ShapeField^ sibling, 
    AnchoringBehavior::Edge rightSide, 
    double percentage
)
member CenterHorizontally : 
        leftSide:AnchoringBehavior.Edge * 
        sibling:ShapeField * 
        rightSide:AnchoringBehavior.Edge * 
        percentage:float -> unit
public function CenterHorizontally(
    leftSide : AnchoringBehavior.Edge, 
    sibling : ShapeField, 
    rightSide : AnchoringBehavior.Edge, 
    percentage : double
)

Parameters

  • percentage
    Type: Double

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterHorizontally Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace