Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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") ]
This function checks for a license.
Created 20th April 2019, last changed 20th April 2019
PageSetupDialog.SetPaperName - PageSetupDialog.SetPaperWidth