page

A collection of pages.

Element

button
form field
graphic line
group
guide
oval
page item
polygon
rectangle
text frame

page Properties

Property Type Access Description
all graphics List of graphic read Lists all graphics contained by the page.
all page items List of page item read Lists all page items contained by the page.
applied master master spread r/w The master spread applied to the page. Can also accept: nothing.
applied section section read The section to which the page belongs.
applied trap preset trap preset r/w The trap preset applied to the page. Can also accept: string.
bounds List of read The bounds of the page, in the format [y1, x1, y2, x2].
class type read The class descriptor type.
document offset integer read The sequential number of the page within the document.
id integer read The unique ID of the page.
index integer read The index of the page within its containing object.
label text r/w A property that can be set to any string.
margin preferences margin preference read Margin preference settings.
master page items List of specifier read The items on a specified document page that originated on the applied master page and have not been overridden or detached. Can return: list of page items, guides, graphics, movies or sounds.
name text read The name of the page.
object reference page read An object reference for the object.
parent specifier read The parent of the page (a spread or master spread). Can return: spread or master spread.
properties record r/w A property that allows setting of several properties at the same time.
side right hand,
left hand,
single sided,
read The side of the binding spine on which to place the page within the spread.
tab order List of form field r/w The order in which the focus moves to different form fields in the PDF when the tab key is pressed.

Leave a Comment

Previous post:

Next post: