System.Windows.Forms.Form.AutoScaleBaseSize Property

Gets or sets the base size used for autoscaling of the form.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.Drawing.Size AutoScaleBaseSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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 Form.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 Form.GetAutoScaleSize(System.Drawing.Font) method.

Note:

The value of this property is used when the form is initially created. Once the property is set, it cannot be changed.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0