Control.Scale Método

Definição

Escala o controlo e qualquer criança controla.

Sobrecargas

Name Description
Scale(SizeF)

Escala o controlo e todos os controlos filhos pelo fator de escala especificado.

Scale(Single)
Obsoleto.
Obsoleto.

Escala o controlo e qualquer criança controla.

Scale(Single, Single)
Obsoleto.
Obsoleto.

Escala todo o controlo e qualquer controlo filho.

Scale(SizeF)

Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs

Escala o controlo e todos os controlos filhos pelo fator de escala 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

A contendo SizeF os fatores de escala horizontal e vertical.

Observações

O Scale método escala o controlo pela escala factorespecificada . Também escala recursivamente todos os controlos filhos se a ScaleChildren propriedade for true. Internamente, este método chama ScaleControl para escalar cada controlo.

Ver também

Aplica-se a

Scale(Single)

Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs

Atenção

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

Atenção

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

Escala o controlo e qualquer criança controla.

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 proporção a usar para escalar.

Atributos

Aplica-se a

Scale(Single, Single)

Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs
Origem:
Control.cs

Atenção

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

Atenção

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

Escala todo o controlo e qualquer controlo filho.

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