Ribbon for WinForms
GetBounds(Element,Boolean,Boolean) メソッド

C1.Win.8 アセンブリ > C1.Framework 名前空間 > IView インターフェース > GetBounds メソッド : GetBounds(Element,Boolean,Boolean) メソッド
IView.Element to locate.
Whether to get the bounds of the whole element or just the content area.
Whether to clip the rectangle based on ancestor elements.
Gets the rectangle that contains a given element.
シンタックス
'宣言
 
Overloads Function GetBounds( _
   ByVal e As Element, _
   ByVal contentArea As Boolean, _
   ByVal clip As Boolean _
) As Rectangle
Rectangle GetBounds( 
   Element e,
   bool contentArea,
   bool clip
)

パラメータ

e
IView.Element to locate.
contentArea
Whether to get the bounds of the whole element or just the content area.
clip
Whether to clip the rectangle based on ancestor elements.

戻り値の型

Bounds of element e, in client coordinates.
解説
This method is similar to the Element.GetBounds method in the IView.Element class, except this one takes the current ScrollableControl.ScrollPosition into account.
参照

IView インターフェース
IView メンバ
オーバーロード一覧