Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.GetPageCount

Queries number of pages in the current PDF.

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

Parameters

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

Result

Returns page number or error message.

Description

Queries number of pages in the current PDF.
Please note that we have DynaPDF.GetPageCount for the current working PDF and the DynaPDF.GetImportPageCount for the current open import PDF.

See also GetPageCount function in DynaPDF manual.

Examples

Queries number of pages in current working PDF:

$PageCount = MBS( "DynaPDF.GetPageCount"; $PDF )

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


DynaPDF.GetPageCoords - DynaPDF.GetPageField