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
Changes the orientation of the page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Value | The new roatation value. From -360 to 360 in 90 degree steps. | 90 |
Returns OK or error message.
See also SetOrientation function in DynaPDF manual.
Create landscape picture with orientation:
# Add page
Set Variable [ $r ; Value: MBS("DynaPDF.AppendPage"; $pdf) ]
# Rotate page 90°
Set Variable [ $r ; Value: MBS("DynaPDF.SetOrientation"; $pdf; 90) ]
# draw something...
#
# End page
Set Variable [ $r ; Value: MBS("DynaPDF.EndPage"; $pdf) ]
This function checks for a license.
Created 18th August 2014, last changed 3th January 2021