Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.printing 
FlexPrintJobScaleType 
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



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