Font.getStock

Overview | Methods | Fields | This Package | All Packages

Font.getStock

Retrieves a stock font, based on a specified index.

Syntax

public final static Font getStock( int index )

Parameters

index

The stock font index as defined in com.ms.wfc.win32.Windows.

Return Value

Returns the stock font that corresponds to the specified index.

Remarks

All stock fonts are available as field constants.