Delen via


AnchoringBehavior.CenterHorizontally Method (NodeShape, AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge, Double)

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 CenterHorizontally ( _
    leftSibling As NodeShape, _
    leftSiblingSide As AnchoringBehavior.Edge, _
    rightSibling As ShapeField, _
    rightSiblingSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterHorizontally(
    NodeShape leftSibling,
    AnchoringBehavior.Edge leftSiblingSide,
    ShapeField rightSibling,
    AnchoringBehavior.Edge rightSiblingSide,
    double percentage
)
public:
void CenterHorizontally(
    NodeShape^ leftSibling, 
    AnchoringBehavior::Edge leftSiblingSide, 
    ShapeField^ rightSibling, 
    AnchoringBehavior::Edge rightSiblingSide, 
    double percentage
)
member CenterHorizontally : 
        leftSibling:NodeShape * 
        leftSiblingSide:AnchoringBehavior.Edge * 
        rightSibling:ShapeField * 
        rightSiblingSide:AnchoringBehavior.Edge * 
        percentage:float -> unit
public function CenterHorizontally(
    leftSibling : NodeShape, 
    leftSiblingSide : AnchoringBehavior.Edge, 
    rightSibling : ShapeField, 
    rightSiblingSide : AnchoringBehavior.Edge, 
    percentage : double
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterHorizontally Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace