Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @property */ public Size get_AutoScaleBaseSize () /** @property */ public void set_AutoScaleBaseSize (Size value)
public function get AutoScaleBaseSize () : Size public function set AutoScaleBaseSize (value : Size)
Property ValueA Size that represents the base size that this form uses for autoscaling.
This member has been retained for backward compatibility. For more information about automatic scaling, see Automatic Scaling in Windows Forms.
The value of the AutoScaleBaseSize property is used at form-display time to compute the scaling factor for the form. The autoscaling base size is used by the form as a baseline for comparison to the system's font size to determine how much to scale the form when autoscaling is used. If you want to determine the size a form will auto scale to based on a specific font, use the GetAutoScaleSize method.
The value of this property is used when the form is initially created. Once the property is set, it cannot be changed.
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.