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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Sets the new paper orientation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 9.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
PaperFormat | The new paper orientation. Value should be landscape, portrait or default. |
"landscape" |
Returns OK or error.
Set paper orientation to portrait:
Set Variable [ $r ; Value: MBS("PageSetupDialog.SetPaperOrientation"; "portrait") ]
Set paper orientation to landscape:
Set Variable [ $r ; Value: MBS("PageSetupDialog.SetPaperOrientation"; "landscape") ]
Created 20th April 2019, last changed 20th April 2019
PageSetupDialog.SetPaperName - PageSetupDialog.SetPaperWidth
Feedback: Report problem or ask question.