| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WinPDF.PageCount
Gets the number of pages in the Portable Document Format (PDF) document.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WinPDF | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WinPDF.PageCount"; PDFRef ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| PDFRef | The reference number for the PDF document. |
Result
Returns number or error.
Description
Gets the number of pages in the Portable Document Format (PDF) document.Examples
Query page count:
Set Variable [ $page ; Value: 0 ]
Set Variable [ $PageCount ; Value: MBS( "WinPDF.PageCount"; $pdf; $page) ]
Set Variable [ $PageCount ; Value: MBS( "WinPDF.PageCount"; $pdf; $page) ]
See also
Example Databases
Blog Entries
This function checks for a license.
Created 8th March 2023, last changed 16th April 2023