次の方法で共有


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
)

パラメーター

  • row
    型 : System.Int32
    リスト項目の 0 から始まる行番号。

戻り値

型 : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ListField クラス

Microsoft.VisualStudio.Modeling.Diagrams 名前空間