Adobe InDesign CS4 (6.0) Object Model JS: FrameFittingOption

InDesign CS4

Class

FrameFittingOption

 Options for fitting placed or pasted content in a frame. Note: These options can be applied to a frame, object style, or document or to the application. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document | ObjectStyle | Oval | PageItem | Polygon | Rectangle
Preference
FrameFittingOption

Properties

PropertyTypeAccessDescription
bottomCropMeasurement Unit (Number or String) r/wThe amount in measurement units to crop the bottom edge of a graphic.
fittingAlignmentAnchorPoint:
AnchorPoint.TOP_LEFT_ANCHOR
AnchorPoint.TOP_CENTER_ANCHOR
AnchorPoint.TOP_RIGHT_ANCHOR
AnchorPoint.LEFT_CENTER_ANCHOR
AnchorPoint.CENTER_ANCHOR
AnchorPoint.RIGHT_CENTER_ANCHOR
AnchorPoint.BOTTOM_LEFT_ANCHOR
AnchorPoint.BOTTOM_CENTER_ANCHOR
AnchorPoint.BOTTOM_RIGHT_ANCHOR
r/wThe point with which to align the image empty when fitting in a frame. For information, see frame fitting options.
fittingOnEmptyFrameEmptyFrameFittingOptions:
EmptyFrameFittingOptions.NONE
EmptyFrameFittingOptions.CONTENT_TO_FRAME
EmptyFrameFittingOptions.PROPORTIONALLY
EmptyFrameFittingOptions.FILL_PROPORTIONALLY
r/wThe frame fitting option to apply to placed or pasted content if the frame is empty. Can be applied to a frame, object style, or document or to the application.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
leftCropMeasurement Unit (Number or String) r/wThe amount in measurement units to crop the left edge of a graphic.
parentApplication
Document
ObjectStyle
Oval
PageItem
Polygon
Rectangle
readonlyThe parent of the FrameFittingOption (a ObjectStyle, PageItem, Oval, Rectangle, Polygon, Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
rightCropMeasurement Unit (Number or String) r/wThe amount in measurement units to crop the right edge of a graphic.
topCropMeasurement Unit (Number or String) r/wThe amount in measurement units to crop the top edge of a graphic.

Methods

Instances

Array of FrameFittingOption getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the FrameFittingOption.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.frameFittingOptions

Button.frameFittingOptions

Document.frameFittingOptions

FormField.frameFittingOptions

GraphicLine.frameFittingOptions

Group.frameFittingOptions

ObjectStyle.frameFittingOptions

Oval.frameFittingOptions

PageItem.frameFittingOptions

Polygon.frameFittingOptions

Rectangle.frameFittingOptions

TextFrame.frameFittingOptions

Return

Array of FrameFittingOption FrameFittingOption.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index