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
MBS(
"DynaPDF.IsEmptyPage"; /* Checks whether a page is empty. */
$PDF) /* The PDF reference returned from
DynaPDF.New. */
Less
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