Control.Scale Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Met à l’échelle le contrôle et tous les contrôles enfants.
Surcharges
| Nom | Description |
|---|---|
| Scale(SizeF) |
Met à l’échelle le contrôle et tous les contrôles enfants par le facteur de mise à l’échelle spécifié. |
| Scale(Single) |
Obsolète.
Obsolète.
Met à l’échelle le contrôle et tous les contrôles enfants. |
| Scale(Single, Single) |
Obsolète.
Obsolète.
Met à l’échelle l’ensemble du contrôle et de tous les contrôles enfants. |
Scale(SizeF)
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
Met à l’échelle le contrôle et tous les contrôles enfants par le facteur de mise à l’échelle spécifié.
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)
Paramètres
Remarques
La Scale méthode met à l’échelle le contrôle par la mise à l’échelle factorspécifiée. Elle met également à l’échelle de manière récursive tous les contrôles enfants si la ScaleChildren propriété est true. En interne, cette méthode appelle ScaleControl pour mettre à l’échelle chaque contrôle.
Voir aussi
- ScaleChildren
- ScaleControl(SizeF, BoundsSpecified)
- GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
S’applique à
Scale(Single)
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
Attention
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Attention
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Met à l’échelle le contrôle et tous les contrôles enfants.
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)
Paramètres
- ratio
- Single
Rapport à utiliser pour la mise à l’échelle.
- Attributs
S’applique à
Scale(Single, Single)
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
- Source:
- Control.cs
Attention
This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202
Attention
This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202
Met à l’échelle l’ensemble du contrôle et de tous les contrôles enfants.
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)
Paramètres
- dx
- Single
Facteur de mise à l’échelle horizontale.
- dy
- Single
Facteur de mise à l’échelle verticale.
- Attributs