orientation
Description (requires ScriptX v7 or later)
Specifies the page orientation for print-outs.
The orientation property is part of the basic freely-distributable printing subset.
When setting this property causes the orientation to change the margins are swapped, this behaviour is the same as when the orientation is changed within the Page Setup dialog but is different to the behaviour of the portrait property.
Syntax
printing.orientation = "portrait" | "landscape" ;
Settings
This is a read/write property. Use "portrait" to specify portrait orientation, any other value is taken as landscape.
Applies To
printing
Example
Check out the source code of the ScriptX Basic Printing example.
See Also
portrait
bottomMargin, leftMargin, pageHeight, pageWidth, paperSize, topMargin, unprintableBottom, unprintableLeft, unprintableRight, unprintableTop
PageSetup