Control.Scale Control.Scale Control.Scale Control.Scale Method

Definição

Dimensiona o controle e os controles filho.Scales the control and any child controls.

Sobrecargas

Scale(SizeF) Scale(SizeF) Scale(SizeF) Scale(SizeF)

Dimensiona o controle e os controles filho de acordo com o fator de escalonamento especificado.Scales the control and all child controls by the specified scaling factor.

Scale(Single) Scale(Single) Scale(Single) Scale(Single)

Dimensiona o controle e os controles filho.Scales the control and any child controls.

Scale(Single, Single) Scale(Single, Single) Scale(Single, Single) Scale(Single, Single)

Dimensiona o controle inteiro e todos os controles filhos.Scales the entire control and any child controls.

Scale(SizeF) Scale(SizeF) Scale(SizeF) Scale(SizeF)

Dimensiona o controle e os controles filho de acordo com o fator de escalonamento especificado.Scales the control and all child controls by the specified scaling factor.

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 SizeF SizeF SizeF

Um SizeF contido nos fatores de colocação em escala horizontais e verticais.A SizeF containing the horizontal and vertical scaling factors.

Comentários

O Scale método dimensiona o controle pelo dimensionamento factorespecificado.The Scale method scales the control by the specified scaling factor. Ele também dimensiona recursivamente todos os controles filho se ScaleChildren a propriedade truefor.It also recursively scales all child controls if the ScaleChildren property is true. Internamente, esse método chama ScaleControl para dimensionar cada controle.Internally, this method calls ScaleControl to scale each control.

Veja também

Scale(Single) Scale(Single) Scale(Single) Scale(Single)

Aviso

Esta API agora é obsoleta.

Dimensiona o controle e os controles filho.Scales the control and any child controls.

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);
member this.Scale : single -> unit
Public Sub Scale (ratio As Single)

Parâmetros

ratio
Single Single Single Single

A razão a ser usada no dimensionamento.The ratio to use for scaling.

Scale(Single, Single) Scale(Single, Single) Scale(Single, Single) Scale(Single, Single)

Aviso

Esta API agora é obsoleta.

Dimensiona o controle inteiro e todos os controles filhos.Scales the entire control and any child controls.

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);
member this.Scale : single * single -> unit
Public Sub Scale (dx As Single, dy As Single)

Parâmetros

dx
Single Single Single Single

O fator de escala horizontal.The horizontal scaling factor.

dy
Single Single Single Single

O fator de escala vertical.The vertical scaling factor.

Aplica-se a