DataMergeOption

Data merge options.

Methods:

getElements, toSource, toSpecifier

Objects:

Boolean, Fitting, Number, Object

Property Listing

Property

Type

Access

Description

centerImage

Boolean

read/write

If true, centers the image 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 by the bounding box of the frame. This doesn't work with fittingOption CONTENT_AWARE_FIT

createNewDocument

Boolean

read/write

If true, creates a new document when records are merged.

documentSize

Number

read/write

The maximum number of pages per document.

fittingOption

Fitting

Fitting.FILL_PROPORTIONAL

Fitting.FIT_CONTENT_TO_FRAME

Fitting.FIT_FRAME_TO_CONTENT

Fitting.PRESERVE_SIZES

Fitting.PROPORTIONAL

read/write

Instructions for fitting content in a frame.

linkImages

Boolean

read/write

If true, links images to the target document. If false, embeds images in the target document.

parent

Application

Document

readonly

The parent of the DataMergeOption (a Application or Document).

properties

Object

read/write

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

removeBlankLines

Boolean

read/write

If true, removes blank lines caused by empty fields.

Method Listing

Object getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the DataMergeOption.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.dataMergeOptions

Document.dataMergeOptions