placeObject
Syntax
Workflow.placeObject(id, where, position);
Parameters
id String
The object’s id.
where Page or Spread
The page or spread to place the article on.
position Array of 2 Units
The left top starting point used for placing the article’s template, in the form (top, left). The origin of the place is the top left corner of the page or spread object given.
Return value Array Of PageItem
Description
The placeObject()
method places an article with template information on the active layer of the layout. The place action will fail when the object is not an article or does not contain template information.
Examples
Example title
Supported versions
Adobe Version | Supported |
---|---|
2021 | ✔ |
2022 | ✔ |
2023 | ✔ |
2024 | ✔ |