GetInstalledFontsByCodePage
Font
Descrizione
Restituisce un elenco dei nomi dei font installati. Questi nomi possono essere usati con
Funzioni AddTrueTypeFont e AddSubsettedFont
L'elenco viene filtrato in base alla tabella codici specificata. Per mostrare tutti i font, impostare CodePage su 0 (corrispondente a DEFAULT_CHARSET).
Sintassi
Delphi
Function TPDFlib.GetInstalledFontsByCodePage(CodePage, Options: Integer): WideString;
ActiveX
Function PDFlib::GetInstalledFontsByCodePage(CodePage As Long, Options As Long) As String
DLL
const wchar_t* DLGetInstalledFontsByCodePage(int InstanceID, int CodePage, int Options);
const char* DLGetInstalledFontsByCodePageA(int InstanceID, int CodePage, int Options);
Parametri
| 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 |
|---|---|
| Options | 0 = Nomi font tra virgolette separati da virgole 1 = Nomi font in testo con CRLF |
Valori restituiti
Restituisce i nomi dei font installati per la code page indicata nel formato scelto da Options, come GetInstalledFontsByCharset. Restituisce una stringa vuota quando la code page non corrisponde a nessun set di caratteri.