Packagemx.printing
Classpublic final class FlexPrintJobScaleType
InheritanceFlexPrintJobScaleType Inheritance 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
 ConstantDefined 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_PAGEConstant
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_HEIGHTConstant 
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_WIDTHConstant 
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.

NONEConstant 
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_ALLConstant 
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.