Ribbon for WinForms
GetBounds(Element) メソッド

C1.Win.4.8 アセンブリ > C1.Framework 名前空間 > PolygonIconElement クラス > GetBounds メソッド : GetBounds(Element) メソッド
Ancestor element (parent, grand-parent, etc).
Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor.
シンタックス
'宣言
 
Public Overloads Function GetBounds( _
   ByVal ancestor As Element _
) As Rectangle
public Rectangle GetBounds( 
   Element ancestor
)

パラメータ

ancestor
Ancestor element (parent, grand-parent, etc).

戻り値の型

A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor.
参照

PolygonIconElement クラス
PolygonIconElement メンバ
オーバーロード一覧