DiagramClientView.ManuallyRouteSelection 方法
ManuallyRoute 的選取範圍中主要的 LinkShape 的直線線段。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Sub ManuallyRouteSelection ( _
linkShape As LinkShape, _
segment As LineSegment, _
routeDelta As PointD, _
previousPoint As PointD _
)
public void ManuallyRouteSelection(
LinkShape linkShape,
LineSegment segment,
PointD routeDelta,
PointD previousPoint
)
參數
- linkShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.LinkShape
我們正在操作的 LinkShape。
- segment
型別:Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
若要管理的 LineSegment。
- routeDelta
型別:Microsoft.VisualStudio.Modeling.Diagrams.PointD
- previousPoint
型別:Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。