Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
FlexPrintJobScaleType

Package | mx.printing
Class | public final class FlexPrintJobScaleType
Inheritance | FlexPrintJobScaleType Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Values for the `scaleType` property of the FlexPrintJob.addObject() method parameter.

See also

FlexPrintJob.addObject()

Public Constants

| Constant | Defined By
--- | --- | ---
|  | FILL_PAGE : String = fillPage [static] Scales the object to fill at least one page completely; that is, it selects the larger of the MATCH_WIDTH or MATCH_HEIGHT scale types. | FlexPrintJobScaleType
|  | MATCH_HEIGHT : String = matchHeight [static] Scales the object to fill the available page height. | FlexPrintJobScaleType
|  | MATCH_WIDTH : String = matchWidth [static] Scales the object to fill the available page width. | FlexPrintJobScaleType
|  | NONE : String = none [static] Does not scale the output. | FlexPrintJobScaleType
|  | SHOW_ALL : String = showAll [static] Scales the object to fit on a single page, filling one dimension; that is, it selects the smaller of the MATCH_WIDTH or MATCH_HEIGHT scale types. | FlexPrintJobScaleType

Constant Detail

FILL_PAGE | Constant

`public static const FILL_PAGE:String = fillPage`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Scales the object to fill at least one page completely; that is, it selects the larger of the MATCH_WIDTH or MATCH_HEIGHT scale types.

MATCH_HEIGHT | Constant |

`public static const MATCH_HEIGHT:String = matchHeight`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Scales the object to fill the available page height. If the resulting object width exceeds the page width, the output spans multiple pages.

MATCH_WIDTH | Constant |

`public static const MATCH_WIDTH:String = matchWidth`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Scales the object to fill the available page width. If the resulting object height exceeds the page height, the output spans multiple pages.

NONE | Constant |

`public static const NONE:String = none`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Does not scale the output. The printed page has the same dimensions as the object on the screen. If the object height, width, or both dimensions exceed the page width or height, the output spans multiple pages.

SHOW_ALL | Constant |

`public static const SHOW_ALL:String = showAll`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Scales the object to fit on a single page, filling one dimension; that is, it selects the smaller of the MATCH_WIDTH or MATCH_HEIGHT scale types.

Sun Mar 5 2017, 03:42 PM +11:00