Freigeben über


Control.Scale Methode

Definition

Skaliert das Steuerelement und alle untergeordneten Steuerelemente.

Überlädt

Name Beschreibung
Scale(SizeF)

Skaliert das Steuerelement und alle untergeordneten Steuerelemente um den angegebenen Skalierungsfaktor.

Scale(Single)
Veraltet.
Veraltet.

Skaliert das Steuerelement und alle untergeordneten Steuerelemente.

Scale(Single, Single)
Veraltet.
Veraltet.

Skaliert das gesamte Steuerelement und alle untergeordneten Steuerelemente.

Scale(SizeF)

Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs

Skaliert das Steuerelement und alle untergeordneten Steuerelemente um den angegebenen Skalierungsfaktor.

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

A SizeF mit den horizontalen und vertikalen Skalierungsfaktoren.

Hinweise

Die Scale Methode skaliert das Steuerelement durch die angegebene Skalierung factor. Es skaliert auch rekursiv alle untergeordneten Steuerelemente, wenn die ScaleChildren Eigenschaft ist true. Intern ruft diese Methode auf ScaleControl , um jedes Steuerelement zu skalieren.

Weitere Informationen

Gilt für:

Scale(Single)

Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs

Achtung

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

Achtung

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

Skaliert das Steuerelement und alle untergeordneten Steuerelemente.

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

Das Verhältnis, das für die Skalierung verwendet werden soll.

Attribute

Gilt für:

Scale(Single, Single)

Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs
Quelle:
Control.cs

Achtung

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

Achtung

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

Skaliert das gesamte Steuerelement und alle untergeordneten Steuerelemente.

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

Der horizontale Skalierungsfaktor.

dy
Single

Der vertikale Skalierungsfaktor.

Attribute

Gilt für: