PortPlacementHelper.RotateOnPerimeter Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable Function RotateOnPerimeter ( _
    parentShape As NodeShape, _
    childBounds As RectangleD, _
    perimeterRotation As Double, _
    portPlacement As PortPlacement _
) As RectangleD
'使用
Dim instance As PortPlacementHelper
Dim parentShape As NodeShape
Dim childBounds As RectangleD
Dim perimeterRotation As Double
Dim portPlacement As PortPlacement
Dim returnValue As RectangleD

returnValue = instance.RotateOnPerimeter(parentShape, _
    childBounds, perimeterRotation, _
    portPlacement)
public virtual RectangleD RotateOnPerimeter(
    NodeShape parentShape,
    RectangleD childBounds,
    double perimeterRotation,
    PortPlacement portPlacement
)
public:
virtual RectangleD RotateOnPerimeter(
    NodeShape^ parentShape, 
    RectangleD childBounds, 
    double perimeterRotation, 
    PortPlacement portPlacement
)
public function RotateOnPerimeter(
    parentShape : NodeShape, 
    childBounds : RectangleD, 
    perimeterRotation : double, 
    portPlacement : PortPlacement
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Permissions

See Also

Reference

PortPlacementHelper Class

PortPlacementHelper Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace