The PrintJobOptions class contains properties to use with the options
parameter of the PrintJob.addPage()
method. For more information about
addPage()
, see the PrintJob class.
Constructor
new(printAsBitmap:Bool = false)
Creates a new PrintJobOptions object. Pass this object to the
options
parameter of the PrintJob.addPage()
method.
Parameters:
printAsBitmap | If _Note:_Adobe AIR does not support vector printing on Mac OS. |
---|
Variables
printAsBitmap:Bool
Specifies whether the content in the print job is printed as a bitmap
or as a vector. The default value is false
, for vector printing.
If the content that you're printing includes a bitmap image, set
printAsBitmap
to true
to include any alpha transparency and color
effects. If the content does not include bitmap images, print the
content in higher quality vector format (the default option).
For example, to print your content as a bitmap, use the following syntax:
var options = new PrintJobOptions();
options.printAsBitmap = true;
myPrintJob.addPage(mySprite, null, options);
Note: Adobe AIR does not support vector printing on Mac OS.