| Category | Font selection |
|---|
Purpose — Change the point size of the currently active font.
Declarations
C
BOOL32 __stdcall pdfChangeFontSize(PPDF IPDF, double Size);
Delphi
function pdfChangeFontSize(const IPDF: PPDF; Size: Double): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
Size | Double | New size; values <= 0 are silently ignored — the current size is left unchanged, and the call still reports success. |
Return value — Always TRUE on a valid handle.
See also — pdfGetFontSize
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Fonts
Category
Core
Exported names
pdfChangeFontSize
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.