共用方式為


LinkShapeGeometry.GetPath 方法 (IGeometryHost)

取得描述幾何 GraphicsPath。根據預設,這就會傳回矩形的路徑。這是單一幾何上。操作中進行部署。這是單一幾何類別上。操作中進行部署。立即使用。如果需要其他路徑,請使用 GetPathCopy!

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Overrides Function GetPath ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
public override GraphicsPath GetPath(
    IGeometryHost geometryHost
)

參數

傳回值

型別:System.Drawing.Drawing2D.GraphicsPath

.NET Framework 安全性

請參閱

參考

LinkShapeGeometry 類別

GetPath 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間