This documentation is archived and is not being maintained.

FontDialog.FontDialog Constructor

Initializes a new instance of the FontDialog class.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public FontDialog ()
public FontDialog ()
public function FontDialog ()
Not applicable.

When you create an instance of FontDialog, the following read/write properties are initialized.

Property

Initial Value

AllowSimulations

true

AllowVectorFonts

true

AllowVerticalFonts

true

AllowScriptChange

true

Color

Color.Black

FixedPitchOnly

false

MaxSize

0

MinSize

0

ScriptsOnly

false

ShowApply

false

ShowColor

false

ShowEffects

true

ShowHelp

false

You can change the value for any of these properties through a separate call to the property.

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 Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: