CommentGlyph.GetBounds(ActivityDesigner, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定 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边界膨胀,并返回生成的矩形。