Partilhar via


Control.Scale Método

Definição

Dimensiona o controle e os controles filho.

Sobrecargas

Scale(SizeF)

Dimensiona o controle e os controles filho de acordo com o fator de escalonamento especificado.

Scale(Single)
Obsoleto.
Obsoleto.

Dimensiona o controle e os controles filho.

Scale(Single, Single)
Obsoleto.
Obsoleto.

Dimensiona o controle inteiro e todos os controles filhos.

Scale(SizeF)

Dimensiona o controle e os controles filho de acordo com o fator de escalonamento especificado.

public:
 void Scale(System::Drawing::SizeF factor);
public void Scale (System.Drawing.SizeF factor);
member this.Scale : System.Drawing.SizeF -> unit
Public Sub Scale (factor As SizeF)

Parâmetros

factor
SizeF

Um SizeF contido nos fatores de colocação em escala horizontais e verticais.

Comentários

O Scale método dimensiona o controle pela escala factorespecificada. Ele também dimensiona recursivamente todos os controles filho se a ScaleChildren propriedade for true. Internamente, esse método chama ScaleControl para dimensionar cada controle.

Confira também

Aplica-se a

Scale(Single)

Cuidado

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

Cuidado

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

Dimensiona o controle e os controles filho.

public:
 void Scale(float ratio);
public void Scale (float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale (float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale (float ratio);
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
Public Sub Scale (ratio As Single)

Parâmetros

ratio
Single

A razão a ser usada no dimensionamento.

Atributos

Aplica-se a

Scale(Single, Single)

Cuidado

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

Cuidado

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

Dimensiona o controle inteiro e todos os controles filhos.

public:
 void Scale(float dx, float dy);
public void Scale (float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale (float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale (float dx, float dy);
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
Public Sub Scale (dx As Single, dy As Single)

Parâmetros

dx
Single

O fator de escala horizontal.

dy
Single

O fator de escala vertical.

Atributos

Aplica-se a