FontDialog Properties In VB.NET
What are FontDialog Properties?
Explanation
FontDialog Properties
Following table lists the Properties, Methods, Events used commonly with the
FontDialog Control in Visual Basic.net 2008.
Properties:
Properties |
Description |
AllowSimulations |
Property gets or sets if the dialog box allows graphics device interface font simulations. |
AllowVectorFonts |
Property gets or sets whether a dialog box allows vector font selections. |
AllowVerticalFonts |
Property gets or sets whether a dialog box displays both vertical and horizontal font or any one. |
Color |
Property used to get or set the selected font color. |
FixedPitchOnly |
Property used to get or set whether the dialog box allows only the selection of fixed pitch fonts. |
Font |
Property used to get or set the selected font. |
FontMustExists |
Property to used to get or set whether the dialog box specifies an error condition if the user attempts to select a font or
style that doesnt exists. |
MaxSize |
Property to used to set or get the maximum point size a user can select. |
MinSize |
Property used to set or get the minimum point size a user can select. |
ShowApply |
Property used to set or get whether dialog box contans an Apply button. |
ShowColor |
Property used to set or get whether the dialog box display the color choice. |
ShowEffects |
Property used to set or get whether the dialog box contains controls that allow user to specify strikethrough
underline, and text color options. |
ShowHelp |
Property used to set or get whether the dialog box displays Help button. |
Methods:
Method |
Description |
Reset |
Method used to reset all dialog options to default values. |
ShowDialog |
Method shows the dialog box. |
Events:
Events |
Description |
Apply |
Triggers when the user clicks the Apply button. |
HelpRequest |
Triggered when the user clicks the Help Button. |