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,代表圖像的界限。

備註

利用 內的值擴大 的界限並傳回結果矩形。

適用於