ConfigErrorGlyph.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 A 代表字形的界限。
例外狀況
designer 包含一個空參考(Nothing 在 Visual Basic 中)。