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

例外狀況

designer 包含一個空參考(Nothing 在 Visual Basic 中)。

適用於