Adds an event listener.
Page
A page.
Page
3 preference objects
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Graphic[] | readonly | Lists all graphics contained by the Page. | |
| PageItem[] | readonly | Lists all page items contained by the Page. | |
| Section | readonly | The alternate layout section to which the page belongs. | |
| MasterSpread | NothingEnum | read/write | The master spread applied to the Page. Can also accept: NothingEnum enumerator. | |
| Section | readonly | The section to which the page belongs. | |
| TrapPreset | String | read/write | The trap preset applied to the page. Can also accept: String. | |
| Number[] | String[] unit | readonly | The bounds of the Page, in the format [y1, x1, y2, x2]. | |
| Buttons |
readonly | A collection of buttons. | |
| CheckBoxes |
readonly | A collection of checkboxes. | |
| ComboBoxes |
readonly | A collection of comboboxes. | |
| Number | readonly | The sequential number of the page within the document. | |
| EPSTexts |
readonly | EPSTexts | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| FormFields |
readonly | A collection of form fields. | |
| GraphicLines |
readonly | A collection of graphic lines. | |
| GridDataInformation | readonly | Default grid properties. Note: Applies to named, layout, and frame (story) grids. | |
| Groups |
readonly | A collection of groups. | |
| Guides |
readonly | A collection of guides. | |
| Number | readonly | The unique ID of the Page. | |
| Number | readonly | The index of the Page within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| LayoutRuleOptions | read/write | layout rule | |
| ListBoxes |
readonly | A collection of listboxes. | |
| MarginPreference | readonly | Margin preference settings. | |
| PageItems[] |
readonly | The items on a specified document page that originated on the applied master page and have not been overridden or detached. Can return: Array of PageItems, Guides, Graphics, Movies or Sounds. | |
| TransformationMatrix | read/write | The transform applied to the master page before it is applied to Page. | |
| MultiStateObjects |
readonly | A collection of multi-state objects. | |
| String | readonly | The name of the Page. | |
| Boolean | read/write | optional page for HTML5 pagination. Obsolete after CS6 | |
| Ovals |
readonly | A collection of ellipses. | |
| 3 Reals (0 - 255)[] | PageColorOptions[] | UIColors[] | read/write | The color label of the Page, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator or PageColorOptions enumerator. | |
| PageItems |
readonly | The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. | |
| MasterSpread | Spread | readonly | The parent of the Page (a Spread or MasterSpread). | |
| Polygons |
readonly | A collection of polygons. | |
| Preferences |
readonly | A collection of preferences objects. | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| RadioButtons |
readonly | A collection of radio buttons. | |
| Rectangles |
readonly | A collection of rectangles. | |
| PageSideOptions | readonly | The side of the binding spine on which to place the page within the spread. | |
| SignatureFields |
readonly | A collection of signature fields. | |
| SnapshotBlendingModes | read/write | snapshot blending mode | |
| SplineItems |
readonly | The spline items collection. | |
| Buttons[] |
read/write | The order in which the focus moves to different form fields in the PDF when the tab key is pressed. Can return: Array of Buttons, CheckBoxes, ComboBoxes, ListBoxes, RadioButtons, TextBoxes or SignatureFields. | |
| TextBoxes |
readonly | A collection of text boxes. | |
| TextFrames |
readonly | A collection of text frames. |
Methods
Adjust the existing layout according to new page size, bleed and margin values. The first parameter is a plain object with key value pairs for properties affected. Permissible keys are width, height, bleedInside, bleedTop, bleedOutside, bleedBottom, leftMargin, topMargin, rightMargin, bottomMargin. The values can be specified as decimal numbers in units of Pt or as a string having a measurement value such as '1 in'. Not all properties need to be specified, only the values that need updation. Notice that when dealing with individual pages rather than the whole document, bleed changes has no effect. E.g. - app.activeDocument.adjustLayout({width:'600px', leftMargin: '1in'}), app.activeDocument.adjustLayout({rightMargin:'1in'}, app.activeDocument.spreads[0].pages), app.activeDocument.spreads[0].pages[0].adjustLayout({width:'400px', leftMargin: '10px'})
Duplicate an object and place it into the target.
Delete all layout snapshots for this Page.
Delete the snapshot of the layout for the current Page size and shape.
Detaches an overridden master page item from the master page.
Duplicates the page.
Gets the label value associated with the specified key.
Resolves the object specifier, creating an array of object references.
Sets the label to the value associated with the specified key.
Moves the page.
Places the file.
Deprecated: Use contentPlace method. Original Description: Create a linked story and place it into the target.
Places the XML element onto a page. If the place point is above an existing page item, place the XML element into the page item.
Move the bounding box of the page item
Deletes the Page.
Removes the event listener.
Removes the override from a previously overridden master page item.
Resize the page item.
Get the coordinates of the given location in the specified coordinate system.
Replaces the content of XML element with content imported from a file.
Create a snapshot of the layout for the current Page size and shape.
Generates a string which, if executed, will return the Page.
Retrieves the object specifier.
Transform the page item.
Get the transformation values of the page item.
Object of 41
Properties elsewhere that hold a Page.
Parameter of 129
Method parameters that accept a Page.
Return 16
Methods that return a Page.