Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.