editions

Syntax

PageItem.editions;

Access

read/write

Parameters

Return value string[]

An array of Edition names assigned to the page item.

Description

The editions property gets or sets the editions assigned to the page item. When assigning to a text frame, all linked text frames will get the same set of editions assigned.

Examples

Get the editions of a page item

// Get the editions assigned to the first page item on the first page.
var pageItem = app.activeDocument.pages[0].pageItems[0];
var editions = pageItem.editions;
alert("Editions: " + editions.join(", "));

Set the editions of a page item

// Assign editions to the first page item on the first page.
var pageItem = app.activeDocument.pages[0].pageItems[0];
pageItem.editions = ["North", "South"];

Supported versions

Adobe Version Supported
2023
2024
2025
2026