ReadOnlyActivityGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definicja

Zwraca granice dla glifu określonego 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

ActivityDesignerZ którym skojarzony jest symbol.

activated
Boolean

true , aby wskazać, czy glif pojawia się na powierzchni projektanta aktywności; w przeciwnym razie false .

Zwraca

Rectangle

RectangleReprezentujący granice dla glifu.

Wyjątki

designer zawiera odwołanie o wartości null ( Nothing w Visual Basic).

Dotyczy