다음을 통해 공유


ListField.GetItemRectangle(ShapeElement, Int32, Int32) Method

Definition

Gets the list item rectangle in world units relative to the top-left of the parent shape.

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

Parameters

parentShape
ShapeElement

The ShapeElement to which this ShapeField belongs.

row
Int32

The zero-based row number of the list item.

column
Int32

Returns

The list item rectangle in world coordinates relative to the top-left of the parent shape.

Applies to