Form::AutoScaleBaseSize Property
Gets or sets the base size used for autoscaling of the form.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Important Note: |
|---|
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.
Note: |
|---|
The value of this property is used when the form is initially created. Once the property is set, it cannot be changed. |
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Important Note: