AnchoringBehavior.CenterHorizontally Method (AnchoringBehavior.Edge, NodeShape, 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 NodeShape, _
rightSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterHorizontally(
AnchoringBehavior.Edge leftSide,
NodeShape sibling,
AnchoringBehavior.Edge rightSide,
double percentage
)
public:
void CenterHorizontally(
AnchoringBehavior::Edge leftSide,
NodeShape^ sibling,
AnchoringBehavior::Edge rightSide,
double percentage
)
member CenterHorizontally :
leftSide:AnchoringBehavior.Edge *
sibling:NodeShape *
rightSide:AnchoringBehavior.Edge *
percentage:float -> unit
public function CenterHorizontally(
leftSide : AnchoringBehavior.Edge,
sibling : NodeShape,
rightSide : AnchoringBehavior.Edge,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- rightSide
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.