Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub CenterVertically ( _
topSibling As ShapeField, _
topSiblingSide As AnchoringBehavior..::.Edge, _
bottomSibling As NodeShape, _
bottomSiblingSide As AnchoringBehavior..::.Edge, _
percentage As Double _
)
'使用
Dim instance As AnchoringBehavior
Dim topSibling As ShapeField
Dim topSiblingSide As AnchoringBehavior..::.Edge
Dim bottomSibling As NodeShape
Dim bottomSiblingSide As AnchoringBehavior..::.Edge
Dim percentage As Double
instance.CenterVertically(topSibling, _
topSiblingSide, bottomSibling, bottomSiblingSide, _
percentage)
public void CenterVertically(
ShapeField topSibling,
AnchoringBehavior..::.Edge topSiblingSide,
NodeShape bottomSibling,
AnchoringBehavior..::.Edge bottomSiblingSide,
double percentage
)
public:
void CenterVertically(
ShapeField^ topSibling,
AnchoringBehavior..::.Edge topSiblingSide,
NodeShape^ bottomSibling,
AnchoringBehavior..::.Edge bottomSiblingSide,
double percentage
)
public function CenterVertically(
topSibling : ShapeField,
topSiblingSide : AnchoringBehavior..::.Edge,
bottomSibling : NodeShape,
bottomSiblingSide : AnchoringBehavior..::.Edge,
percentage : double
)
Parameters
- topSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- topSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- bottomSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- bottomSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Type: System.Double
Permissions
- 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.