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

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

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterHorizontally Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace