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 A 代表字形的界限。

備註

GetBounds將 的界限膨脹為 所designer持有的值,並返回Margin所得矩形。

適用於