CommentGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definice

Vrátí hranice aktuálního komentáře glyf na zadaném 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

Parametry

designer
ActivityDesigner

Glyf ActivityDesigner komentáře 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.

Poznámky

GetBounds nafoukne hranice designer podle hodnoty uchovávané v Margin a vrátí výsledný obdélník.

Platí pro