Control.Scale Methode

Definitie

Hiermee kunt u het besturingselement en eventuele onderliggende besturingselementen schalen.

Overloads

Name Description
Scale(SizeF)

Hiermee worden het besturingselement en alle onderliggende besturingselementen geschaald op basis van de opgegeven schaalfactor.

Scale(Single)
Verouderd.
Verouderd.

Hiermee kunt u het besturingselement en eventuele onderliggende besturingselementen schalen.

Scale(Single, Single)
Verouderd.
Verouderd.

Hiermee kunt u het hele besturingselement en eventuele onderliggende besturingselementen schalen.

Scale(SizeF)

Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs

Hiermee worden het besturingselement en alle onderliggende besturingselementen geschaald op basis van de opgegeven schaalfactor.

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)

Parameters

factor
SizeF

Een SizeF met de horizontale en verticale schaalfactoren.

Opmerkingen

De Scale methode schaalt het besturingselement op basis van de opgegeven schaalaanpassing factor. Het schaalt ook recursief alle onderliggende besturingselementen als de ScaleChildren eigenschap is true. Intern roept ScaleControl deze methode aan om elk besturingselement te schalen.

Zie ook

Van toepassing op

Scale(Single)

Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs

Let op

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

Let op

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

Hiermee kunt u het besturingselement en eventuele onderliggende besturingselementen schalen.

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)

Parameters

ratio
Single

De verhouding die moet worden gebruikt voor schalen.

Kenmerken

Van toepassing op

Scale(Single, Single)

Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs
Bron:
Control.cs

Let op

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

Let op

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

Hiermee kunt u het hele besturingselement en eventuele onderliggende besturingselementen schalen.

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)

Parameters

dx
Single

De horizontale schaalfactor.

dy
Single

De verticale schaalfactor.

Kenmerken

Van toepassing op