API referenceFonts

pdfGetCMapCount

Number of currently-active CMaps (see

CategoryCID/CJK fonts

Purpose — Number of currently-active CMaps (see pdfGetCMap for what "active" means here).

Declarations

C
int32_t __stdcall pdfGetCMapCount(PPDF IPDF);
Delphi
function pdfGetCMapCount(const IPDF: PPDF): Integer; stdcall; external 'LumasPdf.dll';

Return value — Active CMap count; 0 on an invalid handle or none active.

See alsopdfGetCMap

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetCMapCount(IntPtr IPDF);
Area
Fonts
Category

Getters

Exported names

pdfGetCMapCount

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.