API reference › Import & Output APIs
pdfHaveOpenPage
Test whether a page is currently open for content
Purpose — Test whether a page is currently open for content (pdfAppend/pdfEditPage without a matching pdfEndPage — including a page just imported with ifImportAsPage).
C
BOOL32 __stdcall pdfHaveOpenPage(PPDF IPDF);
Return value — TRUE only when a document is open and a page is current; FALSE otherwise (or on an invalid handle).
See also — pdfAppend, pdfEndPage
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Import & Output APIs
Category
Core
Exported names
pdfHaveOpenPage
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.