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.

Properties

Property Type Access Description
bottomCrop number r/w The amount in measurement units to crop the bottom edge of a graphic.
fittingAlignment AnchorPoint
:
TOP_LEFT_ANCHOR
TOP_CENTER_ANCHOR
TOP_RIGHT_ANCHOR
LEFT_CENTER_ANCHOR
CENTER_ANCHOR
RIGHT_CENTER_ANCHOR
BOTTOM_LEFT_ANCHOR
BOTTOM_CENTER_ANCHOR
BOTTOM_RIGHT_ANCHOR
r/w The point with which to align the image empty when fitting in a frame. For information, see frame fitting options.
fittingOnEmptyFrame EmptyFrameFittingOptions
:
NONE
CONTENT_TO_FRAME
PROPORTIONALLY
FILL_PROPORTIONALLY
r/w 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.
leftCrop number r/w The amount in measurement units to crop the left edge of a graphic.
parent any readonly The parent of the FrameFittingOption (a PageItem, Oval, Rectangle, Polygon, Application, Document or ObjectStyle).
properties Object r/w A property that allows setting of several properties at the same time.
rightCrop number r/w The amount in measurement units to crop the right edge of a graphic.
topCrop number r/w The amount in measurement units to crop the top edge of a graphic.

Methods

Array of FrameFittingOptiongetElements ()
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

Returned by:

Array of FrameFittingOption FrameFittingOption .getElements (

)

Leave a Comment

Previous post:

Next post: