ReadOnlyActivityGlyph.GetBounds(ActivityDesigner, Boolean) Metodo

Definizione

Restituisce i limiti per il glifo nell'oggetto specificato 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

Parametri

designer
ActivityDesigner

Oggetto ActivityDesigner a cui è associato il glifo.

activated
Boolean

true per indicare se il glifo viene visualizzato nell'area di ActivityDesigner; in caso contrario, false.

Valori restituiti

Oggetto Rectangle che rappresenta i limiti per il glifo.

Eccezioni

designer contiene un riferimento Null (Nothing in Visual Basic).

Si applica a