Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function FindPerimeterRotation ( _
parentShape As NodeShape, _
initialBounds As RectangleD, _
initialPlacement As PortPlacement, _
finalBounds As RectangleD, _
finalPlacement As PortPlacement _
) As Double
'使用
Dim instance As PortPlacementHelper
Dim parentShape As NodeShape
Dim initialBounds As RectangleD
Dim initialPlacement As PortPlacement
Dim finalBounds As RectangleD
Dim finalPlacement As PortPlacement
Dim returnValue As Double
returnValue = instance.FindPerimeterRotation(parentShape, _
initialBounds, initialPlacement, _
finalBounds, finalPlacement)
public virtual double FindPerimeterRotation(
NodeShape parentShape,
RectangleD initialBounds,
PortPlacement initialPlacement,
RectangleD finalBounds,
PortPlacement finalPlacement
)
public:
virtual double FindPerimeterRotation(
NodeShape^ parentShape,
RectangleD initialBounds,
PortPlacement initialPlacement,
RectangleD finalBounds,
PortPlacement finalPlacement
)
public function FindPerimeterRotation(
parentShape : NodeShape,
initialBounds : RectangleD,
initialPlacement : PortPlacement,
finalBounds : RectangleD,
finalPlacement : PortPlacement
) : double
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- initialBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
- initialPlacement
Type: Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
- finalBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
- finalPlacement
Type: Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
Return Value
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.