Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WinPDF.PageRotation
Queries rotation for a page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WinPDF | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WinPDF.PageRotation"; 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
Queries rotation for a page.Gets the number of degrees that the Portable Document Format (PDF) page will be rotated when it's displayed or printed.
Returns angle as 0, 90, 180 or 270 degrees.
Examples
Query page rotation:
Set Variable [ $page ; Value: 0 ]
Set Variable [ $$Rotation ; Value: MBS( "WinPDF.PageRotation"; $pdf; $page) ]
Example Databases
Blog Entries
Created 8th March 2023, last changed 16th April 2023