AnchoringBehavior.CenterHorizontally Method (ShapeField, AnchoringBehavior.Edge, ShapeField, 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
'Dichiarazione
Public Sub CenterHorizontally ( _
leftSibling As ShapeField, _
leftSiblingSide As AnchoringBehavior..::..Edge, _
rightSibling As ShapeField, _
rightSiblingSide As AnchoringBehavior..::..Edge, _
percentage As Double _
)
public void CenterHorizontally(
ShapeField leftSibling,
AnchoringBehavior..::..Edge leftSiblingSide,
ShapeField rightSibling,
AnchoringBehavior..::..Edge rightSiblingSide,
double percentage
)
public:
void CenterHorizontally(
ShapeField^ leftSibling,
AnchoringBehavior..::..Edge leftSiblingSide,
ShapeField^ rightSibling,
AnchoringBehavior..::..Edge rightSiblingSide,
double percentage
)
member CenterHorizontally :
leftSibling:ShapeField *
leftSiblingSide:AnchoringBehavior..::..Edge *
rightSibling:ShapeField *
rightSiblingSide:AnchoringBehavior..::..Edge *
percentage:float -> unit
public function CenterHorizontally(
leftSibling : ShapeField,
leftSiblingSide : AnchoringBehavior..::..Edge,
rightSibling : ShapeField,
rightSiblingSide : AnchoringBehavior..::..Edge,
percentage : double
)
Parameters
- leftSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- leftSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- rightSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- rightSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Type: System.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.