Compartir vía


Control.Scale Método

Definición

Escala el control y los controles secundarios.

Sobrecargas

Nombre Description
Scale(SizeF)

Escala el control y todos los controles secundarios según el factor de escalado especificado.

Scale(Single)
Obsoletos.
Obsoletos.

Escala el control y los controles secundarios.

Scale(Single, Single)
Obsoletos.
Obsoletos.

Escala todo el control y los controles secundarios.

Scale(SizeF)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

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

que SizeF contiene los factores de escalado horizontal y vertical.

Comentarios

El Scale método escala el control mediante el escalado factorespecificado. También escala de forma recursiva todos los controles secundarios si la ScaleChildren propiedad es true. Internamente, este método llama ScaleControl a para escalar cada control.

Consulte también

Se aplica a

Scale(Single)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

Precaución

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

Precaución

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

Escala el control y los controles secundarios.

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

Relación que se va a usar para el escalado.

Atributos

Se aplica a

Scale(Single, Single)

Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs
Source:
Control.cs

Precaución

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

Precaución

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

Escala todo el control y los controles secundarios.

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

Factor de escalado horizontal.

dy
Single

Factor de escalado vertical.

Atributos

Se aplica a