Share via


ReadOnlyActivityGlyph.GetBounds(ActivityDesigner, Boolean) Méthode

Définition

Retourne les limites pour le glyphe sur le ActivityDesigner spécifié.

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

Paramètres

designer
ActivityDesigner

ActivityDesigner auquel le glyphe est associé.

activated
Boolean

true pour indiquer si le glyphe apparaît sur l'aire du concepteur d'activité ; sinon, false.

Retours

Rectangle qui représente les limites du glyphe.

Exceptions

designer contient une référence Null (Nothing en Visual Basic).

S’applique à