ListField.GetItemRectangle 方法
取得以全局單位表示的清單項目矩形,相對於父圖案左上角。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Function GetItemRectangle ( _
parentShape As ShapeElement, _
row As Integer, _
column As Integer _
) As RectangleD
public RectangleD GetItemRectangle(
ShapeElement parentShape,
int row,
int column
)
參數
- parentShape
類型:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
這個 ShapeField 所屬的 ShapeElement。
- row
類型:System.Int32
清單項目之以零起始的資料列編號。
- column
類型:System.Int32
傳回值
類型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。