| Property | Defined by | ||
|---|---|---|---|
| A3 : Size
[static]
Constants representing the various paper sizes.
| Size | ||
| A4 : Size
[static]
| Size | ||
| A5 : Size
[static]
| Size | ||
| dimensions : Array
The dimensions used by the PDF engine to determine page extents.
| Size | ||
| fullLabel : String [read-only]
| Size | ||
| inchesSize : Array
The dimensions, in inches.
| Size | ||
| label : String = ""
A friendly label for users.
| Size | ||
| LEGAL : Size
[static]
| Size | ||
| LETTER : Size
[static]
| Size | ||
| mmSize : Array
The dimensions, in mm.
| Size | ||
| sizes : Array [static]
An array containing all the available paper sizes.
| Size | ||
| TABLOID : Size
[static]
| Size | ||
| Method | Defined by | ||
|---|---|---|---|
|
Size(pPixelsSize:Array, pLabel:String, pInchesSize:Array, pMmSize:Array)
| Size | ||
|
[static]
Given a String representing the label of a size, or a Size object, this
returns the Size object that corresponds to it.
| Size | ||
| A3 | property |
public static var A3:SizeConstants representing the various paper sizes.
| A4 | property |
public static var A4:Size
| A5 | property |
public static var A5:Size
| dimensions | property |
public var dimensions:ArrayThe dimensions used by the PDF engine to determine page extents.
| fullLabel | property |
fullLabel:String [read-only]Implementation
public function get fullLabel():String
| inchesSize | property |
public var inchesSize:ArrayThe dimensions, in inches. This should be used for a friendly display for users and not in dimension calculations.
| label | property |
public var label:String = ""A friendly label for users.
| LEGAL | property |
public static var LEGAL:Size
| LETTER | property |
public static var LETTER:Size
| mmSize | property |
public var mmSize:ArrayThe dimensions, in mm. This should be used for a friendly display for users and not in dimension calculations.
| sizes | property |
public static var sizes:ArrayAn array containing all the available paper sizes.
| TABLOID | property |
public static var TABLOID:Size
| Size | () | constructor |
public function Size(pPixelsSize:Array, pLabel:String, pInchesSize:Array, pMmSize:Array)Parameters
pPixelsSize:Array |
|
pLabel:String |
|
pInchesSize:Array |
|
pMmSize:Array |
| getSize | () | method |
public static function getSize(value:Object):SizeGiven a String representing the label of a size, or a Size object, this returns the Size object that corresponds to it. Returns null on invalid size.
Parametersvalue:Object |
Size |