Packageflash.printing
Classpublic final class PaperSize
InheritancePaperSize Inheritance Object

Language version: ActionScript 3.0
Runtime version: 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

PrintJob.selectPaperSize()


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
  A4 : String = "a4"
[static] A4
PaperSize
  A5 : String = "a5"
[static] A5
PaperSize
  A6 : String = "a6"
[static] A6
PaperSize
  CHOUKEI3GOU : String = "choukei3gou"
[static] Japanese choukei 3 gou (envelope)
PaperSize
  CHOUKEI4GOU : String = "choukei4gou"
[static] Japanese choukei 4 gou (envelope)
PaperSize
  ENV_10 : String = "env_10"
[static] Legal envelope
PaperSize
  ENV_B5 : String = "env_b5"
[static] B5 envelope
PaperSize
  ENV_C5 : String = "env_c5"
[static] C5 envelope
PaperSize
  ENV_DL : String = "env_dl"
[static] DL envelope
PaperSize
  ENV_MONARCH : String = "env_monarch"
[static] Monarch envelope
PaperSize
  ENV_PERSONAL : String = "env_personal"
[static] Personal envelope
PaperSize
  EXECUTIVE : String = "executive"
[static] Executive size
PaperSize
  FOLIO : String = "folio"
[static] Folio size
PaperSize
  JIS_B5 : String = "jis_b5"
[static] Japanese B5
PaperSize
  LEGAL : String = "legal"
[static] Traditional legal size
PaperSize
  LETTER : String = "letter"
[static] Traditional letter size
PaperSize
  STATEMENT : String = "statement"
[static] Statement size
PaperSize
Constant detail
A4constant
public static const A4:String = "a4"

Language version: ActionScript 3.0
Runtime version: AIR 2

A4

A5constant 
public static const A5:String = "a5"

Language version: ActionScript 3.0
Runtime version: AIR 2

A5

A6constant 
public static const A6:String = "a6"

Language version: ActionScript 3.0
Runtime version: AIR 2

A6

CHOUKEI3GOUconstant 
public static const CHOUKEI3GOU:String = "choukei3gou"

Language version: ActionScript 3.0
Runtime version: AIR 2

Japanese choukei 3 gou (envelope)

CHOUKEI4GOUconstant 
public static const CHOUKEI4GOU:String = "choukei4gou"

Language version: ActionScript 3.0
Runtime version: AIR 2

Japanese choukei 4 gou (envelope)

ENV_10constant 
public static const ENV_10:String = "env_10"

Language version: ActionScript 3.0
Runtime version: AIR 2

Legal envelope

ENV_B5constant 
public static const ENV_B5:String = "env_b5"

Language version: ActionScript 3.0
Runtime version: AIR 2

B5 envelope

ENV_C5constant 
public static const ENV_C5:String = "env_c5"

Language version: ActionScript 3.0
Runtime version: AIR 2

C5 envelope

ENV_DLconstant 
public static const ENV_DL:String = "env_dl"

Language version: ActionScript 3.0
Runtime version: AIR 2

DL envelope

ENV_MONARCHconstant 
public static const ENV_MONARCH:String = "env_monarch"

Language version: ActionScript 3.0
Runtime version: AIR 2

Monarch envelope

ENV_PERSONALconstant 
public static const ENV_PERSONAL:String = "env_personal"

Language version: ActionScript 3.0
Runtime version: AIR 2

Personal envelope

EXECUTIVEconstant 
public static const EXECUTIVE:String = "executive"

Language version: ActionScript 3.0
Runtime version: AIR 2

Executive size

FOLIOconstant 
public static const FOLIO:String = "folio"

Language version: ActionScript 3.0
Runtime version: AIR 2

Folio size

JIS_B5constant 
public static const JIS_B5:String = "jis_b5"

Language version: ActionScript 3.0
Runtime version: AIR 2

Japanese B5

LEGALconstant 
public static const LEGAL:String = "legal"

Language version: ActionScript 3.0
Runtime version: AIR 2

Traditional legal size

LETTERconstant 
public static const LETTER:String = "letter"

Language version: ActionScript 3.0
Runtime version: AIR 2

Traditional letter size

STATEMENTconstant 
public static const STATEMENT:String = "statement"

Language version: ActionScript 3.0
Runtime version: AIR 2

Statement size