共用方式為


ShapeField.GetBounds 方法

取得由 shape 功能變數的範圍。

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

語法

'宣告
Public Overridable Function GetBounds ( _
    parentShape As ShapeElement _
) As RectangleD
public virtual RectangleD GetBounds(
    ShapeElement parentShape
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
圖案邊界。

.NET Framework 安全性

請參閱

參考

ShapeField 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間