Control.Scale Method (Single)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

obsoleteCodeEntityM:System.Windows.Forms.Control.Scale(System.Drawing.SizeF) Note: This API is now obsolete.

Scales the control and any child controls.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[ObsoleteAttribute("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(
	float ratio
)

Parameters

ratio
Type: System.Single

The ratio to use for scaling.

.NET Framework
Available since 1.1
Return to top
Show: