| Category | Font policy (non-functional) |
|---|---|
| Availability | Non-functional (write-only) — see the chapter note |
Purpose — Nominally: set a font-origin preference; the value is stored but not consulted anywhere.
Declarations
C
BOOL32 __stdcall pdfSetFontOrigin(PPDF IPDF, int32_t Origin);
Delphi
function pdfSetFontOrigin(const IPDF: PPDF; Origin: Integer): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
Origin | Integer | Accepted and stored; not consulted anywhere. |
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
pdfSetFontOrigin
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.