Share via


CommentGlyph.GetBounds(ActivityDesigner, Boolean) メソッド

定義

指定した ActivityDesigner の現在のコメント グリフの境界を返します。

public:
 override System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public override System.Drawing.Rectangle GetBounds (System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overrides Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle

パラメーター

designer
ActivityDesigner

コメント グリフを関連付ける ActivityDesigner

activated
Boolean

グリフをアクティビティ デザイナー画面に表示するかどうかを指定する場合は true。それ以外の場合は false

戻り値

Rectangle

グリフの境界を表す Rectangle

注釈

GetBounds は、designer に保持されている値だけ Margin の境界を拡張し、その結果の四角形を返します。

適用対象