| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WinPDF.PagePreferredZoom
Gets the Portable Document Format (PDF) page's preferred magnification factor.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WinPDF | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WinPDF.PagePreferredZoom"; PDFRef; Page ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| PDFRef | The reference number for the PDF document. | |
| Page | The page index. Zero based. |
0 |
Result
Returns number or error.
Description
Gets the Portable Document Format (PDF) page's preferred magnification factor.Examples
Query page zoom for first page:
Set Variable [ $page ; Value: 0 ]
Set Variable [ $PageZoom ; Value: MBS( "WinPDF.PagePreferredZoom"; $pdf; $page) ]
Set Variable [ $PageZoom ; Value: MBS( "WinPDF.PagePreferredZoom"; $pdf; $page) ]
Blog Entries
Created 8th March 2023, last changed 16th April 2023