DesignerGlyph.GetBounds(ActivityDesigner, Boolean) Método

Definição

Retorna os limites do glifo no especificado 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

Parâmetros

designer
ActivityDesigner

O ActivityDesigner com o qual o glifo está associado.

activated
Boolean

true para indicar se o glifo aparece na superfície do designer de atividades; caso contrário, false.

Retornos

Um Rectangle que representa os limites do glifo.

Exceções

designer contém uma referência nula (Nothing em Visual Basic).

Comentários

A menos que substituído em uma classe derivada, GetBounds retorna os limites do designer de atividade com o qual o glifo está associado.

Aplica-se a