Packagecom.adobe.indesign
Classpublic class FitOptions
InheritanceFitOptions Inheritance CSEnumBase Inheritance CSHostObject Inheritance flash.utils.Proxy



Public Properties
 PropertyDefined By
  applyFrameFittingOptions : FitOptions
[static] [read-only] Alias for APPLY_FRAME_FITTING_OPTIONS.
FitOptions
  APPLY_FRAME_FITTING_OPTIONS : FitOptions
[static] [read-only] Applies the current frame fitting options to the frame and content.
FitOptions
  centerContent : FitOptions
[static] [read-only] Alias for CENTER_CONTENT.
FitOptions
  CENTER_CONTENT : FitOptions
[static] [read-only] Centers content in the frame; preserves the frame size as well as content size and proportions.
FitOptions
  contentToFrame : FitOptions
[static] [read-only] Alias for CONTENT_TO_FRAME.
FitOptions
  CONTENT_TO_FRAME : FitOptions
[static] [read-only] Resizes content to fit the frame.
FitOptions
  enumCache : CSEnumSharedCache
[static] [read-only]
FitOptions
  fillProportionally : FitOptions
[static] [read-only] Alias for FILL_PROPORTIONALLY.
FitOptions
  FILL_PROPORTIONALLY : FitOptions
[static] [read-only] Resizes content to fill the frame while perserving the proportions of the content.
FitOptions
  frameToContent : FitOptions
[static] [read-only] Alias for FRAME_TO_CONTENT.
FitOptions
  FRAME_TO_CONTENT : FitOptions
[static] [read-only] Resizes the frame so it fits the content.
FitOptions
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  proportionally : FitOptions
[static] [read-only] Alias for PROPORTIONALLY.
FitOptions
  PROPORTIONALLY : FitOptions
[static] [read-only] Resizes content to fit the frame while preserving content proportions.
FitOptions
 Inheritedvalue : Object
[read-only] Returns the numerical value
CSEnumBase
Public Methods
 MethodDefined By
  
FitOptions(ho:HostObject = null, enum:Number)
Constructor
FitOptions
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
APPLY_FRAME_FITTING_OPTIONSproperty
APPLY_FRAME_FITTING_OPTIONS:FitOptions  [read-only]

Applies the current frame fitting options to the frame and content.


Implementation
    public static function get APPLY_FRAME_FITTING_OPTIONS():FitOptions
applyFrameFittingOptionsproperty 
applyFrameFittingOptions:FitOptions  [read-only]

Alias for APPLY_FRAME_FITTING_OPTIONS. Applies the current frame fitting options to the frame and content.


Implementation
    public static function get applyFrameFittingOptions():FitOptions
CENTER_CONTENTproperty 
CENTER_CONTENT:FitOptions  [read-only]

Centers content in the frame; preserves the frame size as well as content size and proportions. Note: If the content is larger than the frame, content around the edges is obscured.


Implementation
    public static function get CENTER_CONTENT():FitOptions
centerContentproperty 
centerContent:FitOptions  [read-only]

Alias for CENTER_CONTENT. Centers content in the frame; preserves the frame size as well as content size and proportions. Note: If the content is larger than the frame, content around the edges is obscured.


Implementation
    public static function get centerContent():FitOptions
CONTENT_TO_FRAMEproperty 
CONTENT_TO_FRAME:FitOptions  [read-only]

Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.


Implementation
    public static function get CONTENT_TO_FRAME():FitOptions
contentToFrameproperty 
contentToFrame:FitOptions  [read-only]

Alias for CONTENT_TO_FRAME. Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.


Implementation
    public static function get contentToFrame():FitOptions
enumCacheproperty 
enumCache:CSEnumSharedCache  [read-only]


Implementation
    public static function get enumCache():CSEnumSharedCache
FILL_PROPORTIONALLYproperty 
FILL_PROPORTIONALLY:FitOptions  [read-only]

Resizes content to fill the frame while perserving the proportions of the content. If the content and frame have different proportions, some of the content is obscured by the bounding box of the frame.


Implementation
    public static function get FILL_PROPORTIONALLY():FitOptions
fillProportionallyproperty 
fillProportionally:FitOptions  [read-only]

Alias for FILL_PROPORTIONALLY. Resizes content to fill the frame while perserving the proportions of the content. If the content and frame have different proportions, some of the content is obscured by the bounding box of the frame.


Implementation
    public static function get fillProportionally():FitOptions
FRAME_TO_CONTENTproperty 
FRAME_TO_CONTENT:FitOptions  [read-only]

Resizes the frame so it fits the content.


Implementation
    public static function get FRAME_TO_CONTENT():FitOptions
frameToContentproperty 
frameToContent:FitOptions  [read-only]

Alias for FRAME_TO_CONTENT. Resizes the frame so it fits the content.


Implementation
    public static function get frameToContent():FitOptions
proportionallyproperty 
proportionally:FitOptions  [read-only]

Alias for PROPORTIONALLY. Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space appears in the frame.


Implementation
    public static function get proportionally():FitOptions
PROPORTIONALLYproperty 
PROPORTIONALLY:FitOptions  [read-only]

Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space appears in the frame.


Implementation
    public static function get PROPORTIONALLY():FitOptions
Constructor Detail
FitOptions()Constructor
public function FitOptions(ho:HostObject = null, enum:Number)

Constructor

Parameters
ho:HostObject (default = null) — Enumerations value
 
enum:Number (default = NaN)