| Package | flash.printing |
| Class | public class PrintJobOptions |
| Inheritance | PrintJobOptions Object |
options parameter of the PrintJob.addPage() method.
For more information about addPage(), see the PrintJob class.
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| printAsBitmap : Boolean = false
Specifies whether the content in the print job is printed as a bitmap or as a vector.
| PrintJobOptions | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Method | Defined by | ||
|---|---|---|---|
|
PrintJobOptions(printAsBitmap:Boolean = false)
Creates a new PrintJobOptions object.
| PrintJobOptions | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| printAsBitmap | property |
public var printAsBitmap:Boolean = false
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, you should 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:PrintJobOptions = new PrintJobOptions();
myOption.printAsBitmap = true;
myPrintJob.addPage(mySprite, null, myOption);
| PrintJobOptions | () | constructor |
public function PrintJobOptions(printAsBitmap:Boolean = false)
Creates a new PrintJobOptions object. You pass this object
to the options parameter of the PrintJob.addPage() method.
printAsBitmap:Boolean (default = false) — If true, this object is printed as a bitmap.
If false, this object is printed as a vector.
If the content that you're printing includes a bitmap image,
set the |
See also
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/flash/printing/PrintJobOptions.html