Initializes a new instance of the FontDialog class.
[Visual Basic] Public Sub New() [C#] public FontDialog(); [C++] public: FontDialog(); [JScript] public function FontDialog();
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.
FontDialog Class | FontDialog Members | System.WinForms Namespace | Color