Aracılığıyla paylaş


Control.Scale Yöntem

Tanım

Denetimi ve alt denetimleri ölçeklendirir.

Aşırı Yüklemeler

Name Description
Scale(SizeF)

Denetimi ve tüm alt denetimleri belirtilen ölçeklendirme faktörüne göre ölçeklendirir.

Scale(Single)
Geçersiz.
Geçersiz.

Denetimi ve alt denetimleri ölçeklendirir.

Scale(Single, Single)
Geçersiz.
Geçersiz.

Denetimin tamamını ve alt denetimleri ölçeklendirir.

Scale(SizeF)

Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs

Denetimi ve tüm alt denetimleri belirtilen ölçeklendirme faktörüne göre ölçeklendirir.

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)

Parametreler

factor
SizeF

SizeF Yatay ve dikey ölçeklendirme faktörlerini içeren bir.

Açıklamalar

yöntemi, Scale denetimi belirtilen ölçeklendirmeye göre ölçeklendirir factor. Ayrıca özelliği trueise ScaleChildren tüm alt denetimleri özyinelemeli olarak ölçeklendirir. Dahili olarak, bu yöntem her denetimi ölçeklendirmek için çağırır ScaleControl .

Ayrıca bkz.

Şunlara uygulanır

Scale(Single)

Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs

Dikkat

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

Dikkat

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

Denetimi ve alt denetimleri ölçeklendirir.

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)

Parametreler

ratio
Single

Ölçeklendirme için kullanılacak oran.

Öznitelikler

Şunlara uygulanır

Scale(Single, Single)

Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs
Kaynak:
Control.cs

Dikkat

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

Dikkat

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

Denetimin tamamını ve alt denetimleri ölçeklendirir.

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)

Parametreler

dx
Single

Yatay ölçeklendirme faktörü.

dy
Single

Dikey ölçeklendirme faktörü.

Öznitelikler

Şunlara uygulanır