Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.printing 
PaperSize 
Packageflash.printing
Classpublic final class PaperSize
InheritancePaperSize Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

This class provides the available values for the paperSize parameter of the PrintJob.selectPaperSize() method. Each constant represents a paper size that is used to print a page.

The following table shows the approximate size for each paper type. The size is approximate because there is some variation among printer drivers. For example, the width of A4 paper can be 595.0, 595.2, 595.22 or 595.28 points depending on the driver.

ValueSize in points
A4595 x 842
A5420 x 595
A6297 x 420
CHOUKEI3GOU340 x 666
CHOUKEI4GOU298 x 666
ENV_10297 x 684
ENV_B5499 x 709
ENV_C5459 x 649
ENV_DL312 x 624
ENV_MONARCH279 x 540
ENV_PERSONAL261 x 468
EXECUTIVE522 x 756
FOLIO612 x 936
JIS_B5516 x 729
LEGAL612 x 1008
LETTER612 x 792
STATEMENT396 x 612

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 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 this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  AIR-only A4 : String = "a4"
[static] A4
PaperSize
  AIR-only A5 : String = "a5"
[static] A5
PaperSize
  AIR-only A6 : String = "a6"
[static] A6
PaperSize
  AIR-only CHOUKEI3GOU : String = "choukei3gou"
[static] Japanese choukei 3 gou (envelope)
PaperSize
  AIR-only CHOUKEI4GOU : String = "choukei4gou"
[static] Japanese choukei 4 gou (envelope)
PaperSize
  AIR-only ENV_10 : String = "env_10"
[static] Legal envelope
PaperSize
  AIR-only ENV_B5 : String = "env_b5"
[static] B5 envelope
PaperSize
  AIR-only ENV_C5 : String = "env_c5"
[static] C5 envelope
PaperSize
  AIR-only ENV_DL : String = "env_dl"
[static] DL envelope
PaperSize
  AIR-only ENV_MONARCH : String = "env_monarch"
[static] Monarch envelope
PaperSize
  AIR-only ENV_PERSONAL : String = "env_personal"
[static] Personal envelope
PaperSize
  AIR-only EXECUTIVE : String = "executive"
[static] Executive size
PaperSize
  AIR-only FOLIO : String = "folio"
[static] Folio size
PaperSize
  AIR-only JIS_B5 : String = "jis_b5"
[static] Japanese B5
PaperSize
  AIR-only LEGAL : String = "legal"
[static] Traditional legal size
PaperSize
  AIR-only LETTER : String = "letter"
[static] Traditional letter size
PaperSize
  AIR-only STATEMENT : String = "statement"
[static] Statement size
PaperSize
Constant Detail
AIR-only 

A4

Constant
public static const A4:String = "a4"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A4

AIR-only 

A5

Constant 
public static const A5:String = "a5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A5

AIR-only 

A6

Constant 
public static const A6:String = "a6"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A6

AIR-only 

CHOUKEI3GOU

Constant 
public static const CHOUKEI3GOU:String = "choukei3gou"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese choukei 3 gou (envelope)

AIR-only 

CHOUKEI4GOU

Constant 
public static const CHOUKEI4GOU:String = "choukei4gou"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese choukei 4 gou (envelope)

AIR-only 

ENV_10

Constant 
public static const ENV_10:String = "env_10"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Legal envelope

AIR-only 

ENV_B5

Constant 
public static const ENV_B5:String = "env_b5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

B5 envelope

AIR-only 

ENV_C5

Constant 
public static const ENV_C5:String = "env_c5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

C5 envelope

AIR-only 

ENV_DL

Constant 
public static const ENV_DL:String = "env_dl"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

DL envelope

AIR-only 

ENV_MONARCH

Constant 
public static const ENV_MONARCH:String = "env_monarch"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Monarch envelope

AIR-only 

ENV_PERSONAL

Constant 
public static const ENV_PERSONAL:String = "env_personal"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Personal envelope

AIR-only 

EXECUTIVE

Constant 
public static const EXECUTIVE:String = "executive"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Executive size

AIR-only 

FOLIO

Constant 
public static const FOLIO:String = "folio"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Folio size

AIR-only 

JIS_B5

Constant 
public static const JIS_B5:String = "jis_b5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese B5

AIR-only 

LEGAL

Constant 
public static const LEGAL:String = "legal"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Traditional legal size

AIR-only 

LETTER

Constant 
public static const LETTER:String = "letter"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Traditional letter size

AIR-only 

STATEMENT

Constant 
public static const STATEMENT:String = "statement"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Statement size