ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.printing 

PaperSize  - AS3

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

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
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
    

A4

Constant
public static const A4:String = "a4"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A4

    

A5

Constant 
public static const A5:String = "a5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A5

    

A6

Constant 
public static const A6:String = "a6"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

A6

    

CHOUKEI3GOU

Constant 
public static const CHOUKEI3GOU:String = "choukei3gou"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese choukei 3 gou (envelope)

    

CHOUKEI4GOU

Constant 
public static const CHOUKEI4GOU:String = "choukei4gou"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese choukei 4 gou (envelope)

    

ENV_10

Constant 
public static const ENV_10:String = "env_10"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Legal envelope

    

ENV_B5

Constant 
public static const ENV_B5:String = "env_b5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

B5 envelope

    

ENV_C5

Constant 
public static const ENV_C5:String = "env_c5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

C5 envelope

    

ENV_DL

Constant 
public static const ENV_DL:String = "env_dl"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

DL envelope

    

ENV_MONARCH

Constant 
public static const ENV_MONARCH:String = "env_monarch"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Monarch envelope

    

ENV_PERSONAL

Constant 
public static const ENV_PERSONAL:String = "env_personal"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Personal envelope

    

EXECUTIVE

Constant 
public static const EXECUTIVE:String = "executive"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Executive size

    

FOLIO

Constant 
public static const FOLIO:String = "folio"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Folio size

    

JIS_B5

Constant 
public static const JIS_B5:String = "jis_b5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Japanese B5

    

LEGAL

Constant 
public static const LEGAL:String = "legal"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Traditional legal size

    

LETTER

Constant 
public static const LETTER:String = "letter"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Traditional letter size

    

STATEMENT

Constant 
public static const STATEMENT:String = "statement"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Statement size