DataMergeImagePlaceholder
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
field | DataMergeField | readonly | The data merge field to insert in the placeholder. For information, see data merge text placeholder and data merge image placeholder. |
index | number | readonly | The index of the DataMergeImagePlaceholder within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Document | readonly | The parent of the DataMergeImagePlaceholder (a Document). |
placeholderPageItem | PageItem | readonly | The page item on which to place the placeholder. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of DataMergeImagePlaceholder getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the DataMergeImagePlaceholder.
string toSpecifier ()
Retrieves the object specifier.
Used in:
DataMergeImagePlaceholder DataMergeImagePlaceholders.nextItem (obj: DataMergeImagePlaceholder)
DataMergeImagePlaceholder DataMergeImagePlaceholders.previousItem (obj: DataMergeImagePlaceholder)
Return
Array of DataMergeImagePlaceholder DataMergeImagePlaceholder.getElements ()
DataMergeImagePlaceholder DataMergeImagePlaceholders.[] (index: number)
DataMergeImagePlaceholder DataMergeImagePlaceholders.add (placeholder: PageItem, field: DataMergeField[, withProperties: Object])
DataMergeImagePlaceholder DataMergeImagePlaceholders.anyItem ()
Array of DataMergeImagePlaceholder DataMergeImagePlaceholders.everyItem ()
DataMergeImagePlaceholder DataMergeImagePlaceholders.firstItem ()
DataMergeImagePlaceholder DataMergeImagePlaceholders.item (index: varies)
Array of DataMergeImagePlaceholder DataMergeImagePlaceholders.itemByRange (from: varies, to: varies)
DataMergeImagePlaceholder DataMergeImagePlaceholders.lastItem ()
DataMergeImagePlaceholder DataMergeImagePlaceholders.middleItem ()
DataMergeImagePlaceholder DataMergeImagePlaceholders.nextItem (obj: DataMergeImagePlaceholder)
DataMergeImagePlaceholder DataMergeImagePlaceholders.previousItem (obj: DataMergeImagePlaceholder)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |