Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

PageSetupDialog.SetPaperOrientation

Sets the new paper orientation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 9.2 Yes No No No No
MBS( "PageSetupDialog.SetPaperOrientation"; PaperFormat )   More

Parameters

Parameter Description Example value
PaperFormat The new paper orientation.
Value should be landscape, portrait or default.
"landscape"

Result

Returns OK or error.

Description

Sets the new paper orientation.
You need to run paper setup dialog to let the plugin change values.

Examples

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") ]

See also

Example Databases

Blog Entries

Created 20th April 2019, last changed 20th April 2019


PageSetupDialog.SetPaperName   -   PageSetupDialog.SetPrinterName

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins