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

Definición

Ajusta la escala del control y de todos los controles secundarios.Scales the control and any child controls.

Sobrecargas

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

Escala el control y todos los controles secundarios según el factor de escala especificado.Scales the control and all child controls by the specified scaling factor.

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

Ajusta la escala del control y de todos los controles secundarios.Scales the control and any child controls.

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

Ajusta a escala todo el control y los controles secundarios.Scales the entire control and any child controls.

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

Escala el control y todos los controles secundarios según el factor de escala 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

SizeF que contiene los factores de escala horizontal y vertical.A SizeF containing the horizontal and vertical scaling factors.

Comentarios

El Scale método escala el control en el ajuste de factorescala especificado.The Scale method scales the control by the specified scaling factor. También ajusta de forma recursiva todos los controles secundarios si ScaleChildren la propiedad truees.It also recursively scales all child controls if the ScaleChildren property is true. Internamente, este método llama ScaleControl a para escalar cada control.Internally, this method calls ScaleControl to scale each control.

Consulte también:

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

Advertencia

Esta API está ya obsoleta.

Ajusta la escala del control y de todos los controles secundarios.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

La proporción que se debe utilizar para ajustar a escala.The ratio to use for scaling.

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

Advertencia

Esta API está ya obsoleta.

Ajusta a escala todo el control y los controles secundarios.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

Factor de escala horizontal.The horizontal scaling factor.

dy
Single Single Single Single

Factor de escala vertical.The vertical scaling factor.

Se aplica a