API referenceFonts

pdfGetFontSelMode

Read back the mode value stored by

CategoryFont policy (non-functional)
AvailabilityNon-functional — see the chapter note

Purpose — Read back the mode value stored by pdfSetFontSelMode (the stored mode is never consulted by the resolution chain).

Declarations

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

Return value — Whatever was last passed to pdfSetFontSelMode, default 1.

C# (P/Invoke)

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

Getters

Exported names

pdfGetFontSelMode

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.