Control.Scale Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menskalakan kontrol dan kontrol turunan apa pun.
Overload
| Nama | Deskripsi |
|---|---|
| Scale(SizeF) |
Menskalakan kontrol dan semua kontrol turunan oleh faktor penskalakan yang ditentukan. |
| Scale(Single) |
Kedaluwarsa.
Kedaluwarsa.
Menskalakan kontrol dan kontrol turunan apa pun. |
| Scale(Single, Single) |
Kedaluwarsa.
Kedaluwarsa.
Menskalakan seluruh kontrol dan kontrol turunan apa pun. |
Scale(SizeF)
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
Menskalakan kontrol dan semua kontrol turunan oleh faktor penskalakan yang ditentukan.
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)
Parameter
Keterangan
Metode menskalakan Scale kontrol dengan penskalakan factoryang ditentukan . Ini juga secara rekursif menskalakan semua kontrol anak jika ScaleChildren properti adalah true. Secara internal, metode ini memanggil untuk menskalakan ScaleControl setiap kontrol.
Lihat juga
- ScaleChildren
- ScaleControl(SizeF, BoundsSpecified)
- GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
Berlaku untuk
Scale(Single)
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
Perhatian
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Perhatian
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Menskalakan kontrol dan kontrol turunan apa pun.
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)
Parameter
- ratio
- Single
Rasio yang digunakan untuk penskalaan.
- Atribut
Berlaku untuk
Scale(Single, Single)
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
- Sumber:
- Control.cs
Perhatian
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Perhatian
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Menskalakan seluruh kontrol dan kontrol turunan apa pun.
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)
Parameter
- dx
- Single
Faktor penskalakan horizontal.
- dy
- Single
Faktor penskalakan vertikal.
- Atribut