Language

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 。

注釈

GetBounds designerに保持されている値によってMarginの境界を膨らませ、結果の四角形を返します。

適用対象