GetInstalledFontsByCodePage
Fonts
Description
Returns a list of the names of fonts that are installed. These font names can be used with the
AddTrueTypeFont and AddSubsettedFont functions.
The list is filtered by the specified code page. To show all fonts, set CodePage to 0 (corresponding to DEFAULT_CHARSET).
Syntax
Delphi
function TPDFlib.GetInstalledFontsByCodePage(CodePage, Options: Integer): WideString;ActiveX
Function PDFlib::GetInstalledFontsByCodePage(CodePage As Long, Options As Long) As StringDLL
wchar_t * DLGetInstalledFontsByCodePage(int InstanceID, int CodePage, int Options);Parameters
| CodePage | 0 = DEFAULT_CHARSET 437 = OEM_CHARSET 850 = OEM_CHARSET 852 = OEM_CHARSET 874 = THAI_CHARSET 932 = SHIFTJIS_CHARSET 936 = GB2312_CHARSET 949 = HANGEUL_CHARSET 950 = CHINESEBIG5_CHARSET 1250 = EASTEUROPE_CHARSET 1251 = RUSSIAN_CHARSET 1252 = ANSI_CHARSET 1253 = GREEK_CHARSET 1254 = TURKISH_CHARSET 1255 = HEBREW_CHARSET 1256 = ARABIC_CHARSET 1257 = BALTIC_CHARSET 1258 = VIETNAMESE_CHARSET 1361 = JOHAB_CHARSET 0 = Font names enclosed in double quotes with comma delimiters 1 = Font names in plain text with CRLF delimiters |
|---|---|
| Options |