Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

DynaPDF.IsEmptyPage

Checks whether a page is empty.

Component: DynaPDF
Version: 5.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "DynaPDF.IsEmptyPage"; PDF )

Parameters

Parameter Description Example value
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


DynaPDF.IsColorPage   -   DynaPDF.IsInitialized

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich