DataMergeOption

Data merge options.

Properties

Property Type Access Description
centerImage bool r/w 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.
createNewDocument bool r/w If true, creates a new document when records are merged.
documentSize number r/w The maximum number of pages per document.
fittingOption Fitting
:
PROPORTIONAL
FIT_CONTENT_TO_FRAME
FIT_FRAME_TO_CONTENT
PRESERVE_SIZES
FILL_PROPORTIONAL
r/w Instructions for fitting content in a frame.
linkImages bool r/w If true, links images to the target document. If false, embeds images in the target document.
parent any readonly The parent of the DataMergeOption (a Application or Document).
properties Object r/w A property that allows setting of several properties at the same time.
removeBlankLines bool r/w If true, removes blank lines caused by empty fields.

Methods

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

Element of:

Application.dataMergeOptions
Document.dataMergeOptions

Returned by:

Array of DataMergeOption DataMergeOption .getElements (

)

Leave a Comment

Previous post:

Next post: