API referenceCore SDK

pdfIsEmptyPage

Test whether the current page has no drawn content.

C
int32_t __stdcall pdfIsEmptyPage(PPDF IPDF);
Delphi
function pdfIsEmptyPage(const IPDF: PPDF): Integer; stdcall;

Purpose. Test whether the current page has no drawn content.

Return value. 1 if the current page is empty; 0 if it has content or IPDF is invalid / no page is open.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfIsEmptyPage(IntPtr IPDF);
Area
Core SDK
Category

Core

Exported names

pdfIsEmptyPage

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.