API referenceFonts

pdfGetFontOrigin

Read back the value stored by

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

Purpose — Read back the value stored by pdfSetFontOrigin (the value is never consulted).

Declarations

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

Return value — Whatever was last passed to pdfSetFontOrigin.

C# (P/Invoke)

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

Getters

Exported names

pdfGetFontOrigin

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.