반응형
Package | flash.printing |
Class | public final class PaperSize |
Inheritance | PaperSize 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.
Value | Size in points |
---|---|
A4 | 595 x 842 |
A5 | 420 x 595 |
A6 | 297 x 420 |
CHOUKEI3GOU | 340 x 666 |
CHOUKEI4GOU | 298 x 666 |
ENV_10 | 297 x 684 |
ENV_B5 | 499 x 709 |
ENV_C5 | 459 x 649 |
ENV_DL | 312 x 624 |
ENV_MONARCH | 279 x 540 |
ENV_PERSONAL | 261 x 468 |
EXECUTIVE | 522 x 756 |
FOLIO | 612 x 936 |
JIS_B5 | 516 x 729 |
LEGAL | 612 x 1008 |
LETTER | 612 x 792 |
STATEMENT | 396 x 612 |
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined 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 |
A5 |
Constant |
A6 |
Constant |
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