View source
enum abstract PrintJobOrientation(Null<Int>)
package openfl.printing
Available on all platforms
This class provides values that are used by the PrintJob.orientation
property for the image position of a printed page.
Variables
inlineread onlyLANDSCAPE:PrintJobOrientation = 0
The landscape (horizontal) image orientation for printing. This
constant is used with the PrintJob.orientation
property. Use the
syntax PrintJobOrientation.LANDSCAPE
.
inlineread onlyPORTRAIT:PrintJobOrientation = 1
The portrait (vertical) image orientation for printing. This constant
is used with the PrintJob.orientation
property. Use the syntax
PrintJobOrientation.PORTRAIT
.