FontDialog.setFontDevice

Overview | Methods | This Package | All Packages

FontDialog.setFontDevice

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

Syntax

public final void setFontDevice( int value )

Parameters

value

An integer that indicates whether the dialog box will show screen fonts, printer fonts, or both. Possible return values are constants defined in the FontDevice class.

Exceptions

WFCInvalidArgumentException thrown if value is not a valid FontDevice constant.

See Also   getFontDevice