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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries page height.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WinPDF | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
PDFRef | The reference number for the PDF document. | |
Page | The page index. Zero based. |
0 |
Returns OK or error.
Query size of first page:
Set Variable [ $page ; Value: 0 ]
Set Variable [ $$PageHeight ; Value: MBS( "WinPDF.PageHeight"; $pdf; $page) ]
Set Variable [ $$PageWidth ; Value: MBS( "WinPDF.PageWidth"; $pdf; $page) ]
This function checks for a license.
Created 8th March 2023, last changed 16th April 2023