FrameFittingOption

Options for fitting placed or pasted content in a frame.

Methods:

getElements, toSource, toSpecifier

Objects:

AnchorPoint, Boolean, EmptyFrameFittingOptions, Number, Object, String

Hierarchy:

Superclass: Preference

Class: FrameFittingOption

Property Listing

Property

Type

Access

Description

bottomCrop

Number

String

read/write

The amount in measurement units to crop the bottom edge of a graphic.

fittingAlignment

AnchorPoint

AnchorPoint.BOTTOM_CENTER_ANCHOR

AnchorPoint.BOTTOM_LEFT_ANCHOR

AnchorPoint.BOTTOM_RIGHT_ANCHOR

AnchorPoint.CENTER_ANCHOR

AnchorPoint.LEFT_CENTER_ANCHOR

AnchorPoint.RIGHT_CENTER_ANCHOR

AnchorPoint.TOP_CENTER_ANCHOR

AnchorPoint.TOP_LEFT_ANCHOR

AnchorPoint.TOP_RIGHT_ANCHOR

read/write

The point with which to align the image empty when fitting in a frame. For information, see frame fitting options.

fittingOnEmptyFrame

EmptyFrameFittingOptions

EmptyFrameFittingOptions.CONTENT_TO_FRAME

EmptyFrameFittingOptions.FILL_PROPORTIONALLY

EmptyFrameFittingOptions.NONE

EmptyFrameFittingOptions.PROPORTIONALLY

read/write

The 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.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

leftCrop

Number

String

read/write

The amount in measurement units to crop the left edge of a graphic.

parent

Application

Document

Oval

Polygon

Rectangle

ObjectStyle

PageItem

readonly

The parent of the FrameFittingOption (a ObjectStyle, Oval, Rectangle, Polygon, Application, Document or PageItem).

properties

Object

read/write

A property that allows setting of several properties at the same time.

rightCrop

Number

String

read/write

The amount in measurement units to crop the right edge of a graphic.

topCrop

Number

String

read/write

The amount in measurement units to crop the top edge of a graphic.

Method Listing

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.

Object of

Application.frameFittingOptions

Document.frameFittingOptions

FormField.frameFittingOptions

Button.frameFittingOptions

PageItem.frameFittingOptions

Oval.frameFittingOptions

Rectangle.frameFittingOptions

GraphicLine.frameFittingOptions

Polygon.frameFittingOptions

Group.frameFittingOptions

ObjectStyle.frameFittingOptions

TextFrame.frameFittingOptions

Return

FrameFittingOption.getElements()