Bagikan melalui


Control.Scale Metode

Definisi

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

factor
SizeF

yang SizeF berisi faktor penskalakan horizontal dan vertikal.

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

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

Berlaku untuk