FontDialog Methods

Overview | This Package | All Packages

FontDialog Methods

Constructors Description
FontDialog Creates a FontDialog control.

Methods Description
addOnApply Assigns a delegate to the apply event.

getAllowScriptChange Retrieves a boolean value indicating whether the user can change the character set specified in the Script combo box to display a character set other than the current one.

getAllowSimulations Retrieves a boolean value indicating whether the dialog box allows graphics device interface (GDI) font simulations.

getAllowVectorFonts Retrieves a boolean value indicating whether the dialog box allows vector font selections.

getAllowVerticalFonts Retrieves a boolean value indicating whether the dialog box displays both vertically oriented and horizontally oriented fonts or only horizontally oriented fonts.

getColor Retrieves the selected font color.

getFixedPitchOnly Retrieves a boolean value indicating whether the dialog box should allow only the selection of fixed-pitch fonts.

getFont Retrieves a value indicating the font the user selected in the dialog box.

getFontDevice Retrieves a value indicating whether the dialog box will show screen fonts, printer fonts, or both.

getFontMustExist Retrieves a boolean value indicating whether the dialog box should indicate an error condition if the user attempts to select a font or style that does not exist.

getMaxSize Retrieves a value indicating the maximum point size a user can select.

getMinSize Retrieves a value indicating the minimum point size a user can select.

getPrinterDC Retrieves a value identifying the device context of the printer whose fonts will be listed in the dialog box.

getScalableOnly Retrieves a boolean value indicating whether the dialog box allows only the selection of scalable fonts.

getScriptsOnly Retrieves a boolean value indicating whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets, as well as the American National Standards Institute (ANSI) character set.

getShowApply Retrieves a boolean value indicating whether the dialog box contains an Apply button.

getShowColor Retrieves a boolean value indicating whether or not the color choice is shown.

getShowEffects Retrieves a boolean value indicating whether the dialog box displays the controls that allow the user to specify strikeout, underline, and text color options.

getShowHelp Retrieves a boolean value indicating whether the dialog box contains a Help button.

getTrueTypeOnly Retrieves a boolean value indicating whether the dialog box displays only TrueType fonts.

getWysiwyg Retrieves a boolean value indicating whether the dialog box allows only the selection of fonts available on both the printer and the display.

onApply Triggers the apply event.

removeOnApply Removes the delegate that is assigned to the apply event.

reset Resets all dialog box options to their default values.

runDialog Implements running the dialog box.

setAllowScriptChange Sets a boolean value indicating whether the user can change the character set specified in the Script combo box to display a character set other than the current one.

setAllowSimulations Sets a boolean value indicating whether the dialog box allows graphics device interface (GDI) font simulations.

setAllowVectorFonts Sets a boolean value indicating whether the dialog box allows vector font selections.

setAllowVerticalFonts Sets a boolean value indicating whether the dialog box displays both vertical and horizontal fonts or only horizontal fonts.

setColor Sets a value that indicates which color is selected by default when the dialog box is opened.

setFixedPitchOnly Sets a boolean value indicating whether the dialog box should allow only the selection of fixed-pitch fonts.

setFont Sets a value that indicates which font is selected by default when the dialog box is opened.

setFontDevice Sets a value indicating whether the dialog box will show screen fonts, printer fonts, or both.

setFontMustExist Sets a boolean value indicating whether the dialog box should indicate an error condition if the user attempts to select a font or style that does not exist.

setMaxSize Sets a value indicating the maximum point size a user can select.

setMinSize Sets a value indicating the minimum point size a user can select.

setPrinterDC Sets a value identifying the device context of the printer whose fonts will be listed in the dialog box.

setScalableOnly Sets a boolean value indicating whether the dialog box allows only the selection of scalable fonts.

setScriptsOnly Sets a boolean value indicating whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets, as well as the ANSI character set.

setShowApply Sets a boolean value indicating whether the dialog box contains an Apply button.

setShowColor Sets a boolean value indicating whether or not the color choice is shown.

setShowEffects Sets a boolean value indicating whether the dialog box displays the controls that allow the user to specify strikeout, underline, and text color options.

setShowHelp Sets a boolean value indicating whether the dialog box contains a Help button.

setTrueTypeOnly Sets a boolean value indicating whether the dialog box displays only TrueType fonts.

setWysiwyg Sets a boolean value indicating whether the dialog box allows only the selection of fonts available on both the printer and the display.

toString Retrieves a string that includes the name of the current font selected in the dialog box.