ListField.GetItemRectangle(ShapeElement, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
相对于父形状的左上角,获取世界单位的列表项矩形。
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
返回
世界坐标中的列表项矩形,相对于父形状的左上角。