| Category | Font enumeration |
|---|
Purpose — Number of font entries registered on this document (all fonts ever selected/loaded via any pdfSetFont/pdfLoadFont/pdfReplaceFont call, regardless of whether currently active).
Declarations
C
int32_t __stdcall pdfGetFontCount(PPDF IPDF);
Delphi
function pdfGetFontCount(const IPDF: PPDF): Integer; stdcall; external 'LumasPdf.dll';
Return value — Font entry count; 0 on an invalid handle.
See also — pdfEnumDocFonts
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetFontCount(IntPtr IPDF);
Area
Fonts
Category
Getters
Exported names
pdfGetFontCount
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.