Control.Scale Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Scala il controllo e degli eventuali controlli figlio.
Overload
Scale(SizeF) |
Ridimensiona il controllo e tutti i relativi controlli figlio in base al fattore di scala specificato. |
Scale(Single) |
Obsoleta.
Obsoleta.
Scala il controllo e degli eventuali controlli figlio. |
Scale(Single, Single) |
Obsoleta.
Obsoleta.
Scala l'intero controllo ed eventuali controlli figlio. |
Scale(SizeF)
Ridimensiona il controllo e tutti i relativi controlli figlio in base al fattore di scala specificato.
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)
Parametri
Commenti
Il Scale metodo ridimensiona il controllo in base al ridimensionamento factor
specificato. Ridimensiona anche in modo ricorsivo tutti i controlli figlio se la ScaleChildren proprietà è true
. Internamente, questo metodo chiama ScaleControl per ridimensionare ogni controllo.
Vedi anche
- ScaleChildren
- ScaleControl(SizeF, BoundsSpecified)
- GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
Si applica a
Scale(Single)
Attenzione
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Attenzione
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Scala il controllo e degli eventuali controlli figlio.
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)
Parametri
- ratio
- Single
Il rapporto da usare per l'adattamento in scala.
- Attributi
Si applica a
Scale(Single, Single)
Attenzione
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Attenzione
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Scala l'intero controllo ed eventuali controlli figlio.
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)
Parametri
- dx
- Single
Fattore di scala orizzontale.
- dy
- Single
Fattore di scala verticale.
- Attributi