PortPlacementHelper.RotateOnPerimeter 方法
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Overridable Function RotateOnPerimeter ( _
parentShape As NodeShape, _
childBounds As RectangleD, _
perimeterRotation As Double, _
portPlacement As PortPlacement _
) As RectangleD
public virtual RectangleD RotateOnPerimeter(
NodeShape parentShape,
RectangleD childBounds,
double perimeterRotation,
PortPlacement portPlacement
)
參數
- parentShape
類型:Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- childBounds
類型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
- perimeterRotation
類型:System.Double
- portPlacement
類型:Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
傳回值
類型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。