API referenceFonts

pdfSetListFont

Nominally: designate a font handle to use for list-box/combo

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

Purpose — Nominally: designate a font handle to use for list-box/combo field appearances.

Declarations

C
BOOL32 __stdcall pdfSetListFont(PPDF IPDF, uint32_t Handle);
Delphi
function pdfSetListFont(const IPDF: PPDF; Handle: Cardinal): LongBool; stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
HandleCardinalAccepted and stored (FListFontHandle); never consulted elsewhere.

Return value — Always TRUE on a valid handle.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Fonts
Category

Setters

Exported names

pdfSetListFont

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.