GetFontList()
  

Returns the font list.

SYNTAX

GetFontList( [ hDC ], [ cFontFamilyName ], [ nCharSet ], [ nPitch ], [ nFontType ], [ lSortCaseSensitive ], @aFontName )--> aFontList

where

nCharSet may be:
ANSI_CHARSET, DEFAULT_CHARSET, SYMBOL_CHARSET etc.

nPitch may be :
FONT_DEFAULT_PITCH, FONT_FIXED_PITCH, FONT_VARIABLE_PITCH

nFontType may be:
FONT_VECTOR_TYPE, FONT_RASTER_TYPE, FONT_TRUE_TYPE

Remarks

Return aFontList is the multidimensional array:
{ {
cFontName, nCharSet, nPitchAndFamily, nFontType }, ... }

Return by reference aFontName is the unidimensional array:
{
cFontName1, cFontName2, ... }

Available Charsets

ANSI_CHARSET
DEFAULT_CHARSET
SYMBOL_CHARSET
SHIFTJIS_CHARSET
HANGEUL_CHARSET
HANGUL_CHARSET
GB2312_CHARSET
CHINESEBIG5_CHARSET
OEM_CHARSET
JOHAB_CHARSET
HEBREW_CHARSET
ARABIC_CHARSET
GREEK_CHARSET
TURKISH_CHARSET
VIETNAMESE_CHARSET
THAI_CHARSET
EASTEUROPE_CHARSET
RUSSIAN_CHARSET
MAC_CHARSET
BALTIC_CHARSET

EXAMPLE:

See demo in :
\ \samples\Advanced\GetFonts