Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

DynaPDF.IsEmptyPage

Checks whether a page is empty.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.IsEmptyPage"; PDF )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns 1, 0 or error.

Description

Checks whether a page is empty.
The page which should be checked must be opened with the function DynaPDF.EditPage beforehand. The function does not check whether the buffer size of a page is zero to determine whether a page is empty. Instead, the content stream will be parsed until a visible object can be found.
If no visible object can be found the return value is 1. If a visible object can be found the return value is 0.

See also IsEmptyPage function in DynaPDF manual.

See also

Blog Entries

This function checks for a license.

Created 6th February 2015, last changed 5th October 2016


DynaPDF.IsColorPage - DynaPDF.IsInitialized

💬 Ask a question or report a problem