Edit in GitHubLog an issue

DataMergeImagePlaceholders

A collection of data merge image placeholders.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

DataMergeImagePlaceholder add( PageItem placeholder, DataMergeField field, Object withProperties )

Creates a data merge image placeholder.

Parameters

TypeNameDescription
PageItem
placeholder
The page item on which to place the placeholder.
DataMergeField
field
The data merge field to insert.
Object
withProperties
Initial values for properties of the new DataMergeImagePlaceholder (Optional)

Number count()

Displays the number of elements in the DataMergeImagePlaceholder.


DataMergeImagePlaceholder item( Mixed index )

Returns the DataMergeImagePlaceholder with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

DataMergeImagePlaceholder itemByRange( Mixed from, Mixed to )

Returns the DataMergeImagePlaceholders within the specified range.

Parameters

TypeNameDescription
Mixed
from
The DataMergeImagePlaceholder, index, or name at the beginning of the range. Can accept: DataMergeImagePlaceholder, Long Integer or String.
Mixed
to
The DataMergeImagePlaceholder, index, or name at the end of the range. Can accept: DataMergeImagePlaceholder, Long Integer or String.

DataMergeImagePlaceholder firstItem()

Returns the first DataMergeImagePlaceholder in the collection.


DataMergeImagePlaceholder lastItem()

Returns the last DataMergeImagePlaceholder in the collection.


DataMergeImagePlaceholder middleItem()

Returns the middle DataMergeImagePlaceholder in the collection.


DataMergeImagePlaceholder previousItem( DataMergeImagePlaceholder obj )

Returns the DataMergeImagePlaceholder with the index previous to the specified index.

Parameters

TypeNameDescription
DataMergeImagePlaceholder
obj
The index of the DataMergeImagePlaceholder that follows the desired DataMergeImagePlaceholder.

DataMergeImagePlaceholder nextItem( DataMergeImagePlaceholder obj )

Returns the DataMergeImagePlaceholder whose index follows the specified DataMergeImagePlaceholder in the collection.

Parameters

TypeNameDescription
DataMergeImagePlaceholder
obj
The DataMergeImagePlaceholder whose index comes before the desired DataMergeImagePlaceholder.

DataMergeImagePlaceholder anyItem()

Returns any DataMergeImagePlaceholder in the collection.


DataMergeImagePlaceholder everyItem()

Returns every DataMergeImagePlaceholder in the collection.


String toSource()

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


DataMergeImagePlaceholder []( Number index )

Returns the DataMergeImagePlaceholder with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.