API referenceFonts

pdfSetFontSearchOrderEx

4-argument convenience form of

CategoryFont policy (non-functional)
AvailabilityNon-functional (write-only) — same dead field as the non-Ex form

Purpose — 4-argument convenience form of pdfSetFontSearchOrder (no array/pointer needed).

Declarations

C
void __stdcall pdfSetFontSearchOrderEx(PPDF IPDF, TFontBaseType S1, TFontBaseType S2, TFontBaseType S3, TFontBaseType S4);
Delphi
procedure pdfSetFontSearchOrderEx(const IPDF: PPDF; S1, S2, S3, S4: TFontBaseType); stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
S1..S4TFontBaseTypeSame 4 slots as the array form; stored, not consulted.

Return value — None (procedure).

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern void pdfSetFontSearchOrderEx(IntPtr IPDF, TFontBaseType S1, TFontBaseType S2, TFontBaseType S3, TFontBaseType S4);
Area
Fonts
Category

Setters

Exported names

pdfSetFontSearchOrderEx

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.