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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    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

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


DynaPDF.IsColorPage - DynaPDF.IsInitialized

Feedback: Report problem or ask question.