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

注解

GetBoundsdesigner 中保存的值放大 Margin 的边界,并返回所生成的矩形。

适用于