System.Windows.Forms.FontDialog.MinSize Property

Gets or sets the minimum point size a user can select.

Syntax

[System.ComponentModel.DefaultValue(0)]
public int MinSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

In order for the maximum and minimum size settings to take effect, FontDialog.MaxSize must be greater than FontDialog.MinSize, and both must be greater than 0.

Attempts to set this property to values less than 0 will result in a value of 0 being used. If you set FontDialog.MinSize to a value greater than FontDialog.MaxSize, FontDialog.MaxSize is set to the value of FontDialog.MinSize. The effect of setting FontDialog.MinSize and FontDialog.MaxSize to the same value is to limit the size selection to a single font size.

When the point size is 0, there are no font size limits.

Requirements

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