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 Constructor

Initializes a new instance of the FontDialog class.

[Visual Basic]
Public Sub New()
[C#]
public FontDialog();
[C++]
public: FontDialog();
[JScript]
public function FontDialog();

Remarks

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
ScriptsOnly false
ShowApply false
ShowColor false
ShowEffects true
ShowHelp false
System.WinForms.FontDialog.Wysiwyg false

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

See Also

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