DesignerGlyph.GetBounds(ActivityDesigner, Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した ActivityDesignerのグリフの境界を返します。
public:
virtual System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public virtual System.Drawing.Rectangle GetBounds(System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
abstract member GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overridable Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle
パラメーター
- designer
- ActivityDesigner
グリフが関連付けられている ActivityDesigner 。
- activated
- Boolean
true グリフがアクティビティ デザイナー画面に表示されるかどうかを示す場合。それ以外の場合は false。
返品
グリフの境界を表す Rectangle 。
例外
designer には、null 参照 (Visual Basic では Nothing) が含まれています。
注釈
派生クラスでオーバーライドされない限り、 GetBounds はグリフが関連付けられているアクティビティ デザイナーの境界を返します。