Packageflash.printing
Classpublic class PrintJobOptions
InheritancePrintJobOptions Inheritance Object

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.

See also
PrintJob, PrintJob.addPage()


Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties
 PropertyDefined by
 Inheritedconstructor : 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
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods
 FunctionDefined by
  
PrintJobOptions(printAsBitmap:Boolean = false)
Creates a new PrintJobOptions object.
PrintJobOptions
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property detail
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).

Constructor detail
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.

Parameters
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 printAsBitmap to true to include any alpha transparency and color effects. If the content does not include bitmap images, omit this parameter to print the content in higher quality vector format (the default option).

See also
PrintJob.addPage()




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/flashauthoringpreview/flash/printing/PrintJobOptions.html