A page.
page elements
| Name | Refer to By |
|---|---|
| buttons | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| form fields | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| graphic lines | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| groups | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| guides | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| ovals | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| page items | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| polygons | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| rectangles | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
| text frames | by numeric index, by name, as a range of elements, before/after another element, satisfying a test, by ID |
page properties
| Property | Type | Access | Description |
|---|---|---|---|
| all graphics | list of graphics | read | All graphics contained by the object. |
| all page items | list of page items | read | All page items contained by the object. |
| applied master | master spread, nothing enum enumeration | r/w | Master applied to this object as MasterSpread or idNothingEnum enumerator. |
| applied section | section | read | The section associated with this page. |
| applied trap preset | trap preset, string | r/w | The trap preset associated with this page. |
| bounds | list of 4 numbers or strings | read | The bounds of the page, in the form (top, left, bottom, right). |
| class | integer | read | The class descriptor type. |
| document offset | integer | read | Offset of the page in the document. |
| id | integer | read | A unique number identifying the object. |
| index | integer | read | Index of the object within its parent object. |
| label | string | r/w | A label that can be set to any string. |
| margin preferences | margin preference | read | Margin preferences. |
| master page items | page item, guide, graphic, movie, sound | read | All items on the applied master pages that have not been overridden. |
| name | string | read | The name of the object. |
| object reference | object | read | An object reference for this object. |
| parent | object | read | The parent of the object. |
| properties | record | r/w | Property that allows setting of several properties at the same time. |
| side | page side options enumeration | read | The side of the spread on which this page lies. |
| tab order | list of form fields | r/w | The order of tabbing among form fields. |
page methods
| Method | Returns | Description |
|---|---|---|
| delete | Nothing | Delete the object. |
| detach | Nothing | Detaches an overridden page item from the master page item. |
| duplicate | page | Duplicates the object. |
| extract label | string | Gets the content of the label associated with the specified key (name). |
| insert label | Nothing | Sets the content of the label associated with the specified key (name), creating the label if it does not already exist. |
| move | page | Move page. |
| place | page item, graphic, movie, sound, story or text | Places a file. |
| remove override | Nothing | Removes a locally overridden master page item. |