Control.Scale Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Comentários
O Scale método dimensiona o controle pela escala factor
especificada. 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
- ScaleChildren
- ScaleControl(SizeF, BoundsSpecified)
- GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
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