SelectionGlyph.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 代表字形的界限。
備註
除非在導出類別中覆寫,否則 GetBounds 回傳一個矩形大小是 的 Boundsdesigner1.5 倍。