DesignerGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definice

Vrátí hranice pro glyf na zadaném ActivityDesigner.

public:
 virtual System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public virtual System.Drawing.Rectangle GetBounds(System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
abstract member GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overridable Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle

Parametry

designer
ActivityDesigner

Glyf ActivityDesigner je přidružen.

activated
Boolean

trueoznačit, zda se glyf objeví na ploše návrháře aktivit; v opačném případě . false

Návraty

A Rectangle , který představuje hranice glyfu.

Výjimky

designer obsahuje odkaz null (Nothing v Visual Basic).

Poznámky

Pokud není přepsáno v odvozené třídě, GetBounds vrátí hranice návrháře aktivity, se kterými je glyph přidružen.

Platí pro