NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FontDialog.MaxSize

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

[Visual Basic]
Public Property MaxSize As Integer
[C#]
public int MaxSize {get; set;}
[C++]
public: __property int get_MaxSize();
public: __property void set_MaxSize(int);
[JScript]
public function get MaxSize() : int;
public function set MaxSize(int);

Property Value

The maximum point size a user can select. The default is zero.

Remarks

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

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

See Also

FontDialog Class | FontDialog Members | System.WinForms Namespace | MinSize