ListField.GetItemRectangle(ShapeElement, Int32, Int32) 方法

定义

相对于父形状的左上角,获取世界单位的列表项矩形。

public:
 Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetItemRectangle(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, int row, int column);
public Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetItemRectangle (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, int row, int column);
member this.GetItemRectangle : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * int * int -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Function GetItemRectangle (parentShape As ShapeElement, row As Integer, column As Integer) As RectangleD

参数

parentShape
ShapeElement

此 ShapeField 所属的 ShapeElement。

row
Int32

列表项的从零开始的行号。

column
Int32

返回

RectangleD

世界坐标中的列表项矩形,相对于父形状的左上角。

适用于