| Category | Font state |
|---|
Purpose — Get the current font size.
Declarations
C
double __stdcall pdfGetFontSize(PPDF IPDF);
Delphi
function pdfGetFontSize(const IPDF: PPDF): Double; stdcall; external 'LumasPdf.dll';
Return value — Current size in points; 0.0 if none set or the handle is invalid.
See also — pdfChangeFontSize
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern double pdfGetFontSize(IntPtr IPDF);
Area
Fonts
Category
Getters
Exported names
pdfGetFontSize
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.