This documentation is archived and is not being maintained.

ElementHost.ScaleCore Method

Scales the parent container and the hosted Windows Forms control.

Namespace: System.Windows.Forms.Integration
Assembly: WindowsFormsIntegration (in windowsformsintegration.dll)

protected override void ScaleCore (
	float dx,
	float dy
protected void ScaleCore (
	float dx, 
	float dy
protected override function ScaleCore (
	dx : float, 
	dy : float
Not applicable.



The scaling factor for the x-axis.


The scaling factor for the y-axis.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0