GetInstalledFontsByCharset

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 character set. To show all fonts, set CharsetIndex to 2 (corresponding to DEFAULT_CHARSET).

Syntax

Delphi

function TPDFlib.GetInstalledFontsByCharset(CharsetIndex, Options: Integer): WideString;

ActiveX

Function PDFlib::GetInstalledFontsByCharset(CharsetIndex As Long, Options As Long) As String

DLL

wchar_t * DLGetInstalledFontsByCharset(int InstanceID, int CharsetIndex, int Options);

Parameters

CharsetIndex1 = ANSI 2 = Default 3 = Symbol 4 = Shift JIS 5 = Hangeul 6 = GB2312 7 = Chinese Big 5 8 = OEM 9 = Johab 10 = Hebrew 11 = Arabic 12 = Greek 13 = Turkish 14 = Vietnamese 15 = Thai 16 = East Europe 17 = Russian 18 = Mac 19 = Baltic 0 = Font names enclosed in double quotes with comma delimiters 1 = Font names in plain text with CRLF delimiters
Options