GetInstalledFontsByCharset
Version history
This function was introduced in Quick PDF Library version 7.21.
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 TQuickPDF0813.GetInstalledFontsByCharset(CharsetIndex,
Options: Integer): WideString;
ActiveX
Function QuickPDF0813.PDFLibrary::GetInstalledFontsByCharset(CharsetIndex As Long,
Options As Long) As String
DLL
wchar_t * QuickPDFGetInstalledFontsByCharset(int InstanceID, int CharsetIndex,
int Options)
Parameters
| CharsetIndex |
1 = 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 |
| Options |
0 = Font names enclosed in double quotes with comma delimiters 1 = Font names in plain text with CRLF delimiters |