Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control::Scale Method (Single, Single)

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

Scales the entire control and any child controls.

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

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

Parameters

dx
Type: System::Single

The horizontal scaling factor.

dy
Type: System::Single

The vertical scaling factor.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft