A page.
Go to Property Listing | Method Listing
detach, duplicate, extractLabel, getElements, insertLabel, move, place, placeXML, remove, removeOverride, resolve, setContent, toSource, toSpecifier, transformValuesOf
Boolean, Buttons, FormField, FormFields, Graphic, GraphicLines, Graphics, Groups, Guides, MarginPreference, MasterSpread, Movies, NothingEnum, Number, Object, Ovals, PageItem, PageItems, PageSideOptions, Polygons, Rectangles, Section, Sounds, String, TextFrames, TrapPreset,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the Page. |
||
|
readonly |
Lists all page items contained by the Page. |
||
|
read/write |
The master spread applied to the Page. Can also accept: NothingEnum enumerator. |
||
|
readonly |
The section to which the page belongs. |
||
|
read/write |
The trap preset applied to the page. Can also accept: String. |
||
|
readonly |
The bounds of the Page, in the format [y1, x1, y2, x2]. |
||
|
readonly |
A collection of buttons. |
||
|
readonly |
The sequential number of the page within the document. |
||
|
readonly |
A collection of form fields. |
||
|
readonly |
A collection of graphic lines. |
||
|
readonly |
A collection of groups. |
||
|
readonly |
A collection of guides. |
||
|
readonly |
The unique ID of the Page. |
||
|
readonly |
The index of the Page within its containing object. |
||
|
readonly |
Returns true if the object specifier resolves to valid objects. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
Margin preference settings. |
||
|
Array of 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. |
|
|
readonly |
The name of the Page. |
||
|
readonly |
A collection of ellipses. |
||
|
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. |
||
|
readonly |
The parent of the Page (a Spread or MasterSpread). |
||
|
readonly |
A collection of polygons. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of rectangles. |
||
|
readonly |
The side of the binding spine on which to place the page within the spread. |
||
|
read/write |
The order in which the focus moves to different form fields in the PDF when the tab key is pressed. |
||
|
readonly |
A collection of text frames. |
undefined detach ()
Detaches an overridden master page item from the master page.
Page duplicate ([to:LocationOptions=LocationOptions], reference:Varies Page Spread)
Duplicates the page.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The location at which to place the duplicate page relative to the reference object or within the document or spread. (Optional) (default: LocationOptions.AT_END) |
|
|
reference |
The reference object. Note: Required when the to value specifies before or after. Can accept: Page or Spread. (Optional) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
Page getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Page move ([to:LocationOptions=LocationOptions], reference:Varies Page Spread, [binding:BindingOptions=BindingOptions])
Moves the page.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The new location of the page relative to the reference object or within the document or spread. (Optional) (default: LocationOptions.AT_END) |
|
|
reference |
The reference object. Note: Required when the to parameter value specifies before or after. Can accept: Page or Spread. (Optional) |
|
|
binding |
The location of the binding spine in spreads. (Optional) (default: BindingOptions.DEFAULT_VALUE) |
Varies place (fileName:File, placePoint:Array of Number String, destinationLayer:Layer, [showingOptions:Boolean=Boolean], [autoflowing:Boolean=Boolean], withProperties:Object)
Places the file.
|
Parameter |
Type |
Description |
|---|---|---|
|
fileName |
The file to place |
|
|
placePoint |
The point at which to place (Optional) |
|
|
destinationLayer |
The layer on which to place (Optional) |
|
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
|
autoflowing |
Whether to autoflow placed text (Optional) (default: false) |
|
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
PageItem placeXML (using:XMLElement, placePoint:Array of Number String, [autoflowing:Boolean=Boolean])
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.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The XML element to place. |
|
|
placePoint |
The point at which to place the object, specified in the format [x, y]. |
|
|
autoflowing |
If true, autoflows placed text. (Optional) (default: false) |
undefined remove ()
Deletes the Page.
undefined removeOverride ()
Removes the override from a previously overridden master page item.
Varies resolve (location:Array of Varies AnchorPoint AnchorPoints 2 Reals BoundingBoxLimitss CoordinateSpacess Arrays of 2 Reals LongIntegers, in:CoordinateSpaces, [consideringRulerUnits:Boolean=Boolean])
Get the coordinates of the given location in the specified coordinate system.
|
Parameter |
Type |
Description |
|---|---|---|
|
location |
AnchorPoints AnchorPoint Array of 2 Reals BoundingBoxLimitss BoundingBoxLimits CoordinateSpacess CoordinateSpaces Array of Arrays of 2 Reals LongIntegers |
The location requested. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers. |
|
in |
The coordinate space to use. |
|
|
consideringRulerUnits |
If true then a ruler location is interpreted using ruler units rather than points. The default value is false. This parameter has no effect unless the reference point is specified relative to a page. (Optional) (default: false) |
PageItem setContent (using:String, relativeBasePath:String)
Replaces the content of XML element with content imported from a file.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The file path to the import file. |
|
|
relativeBasePath |
Base path used to resolve relative paths. (Optional) |
String toSource ()
Generates a string which, if executed, will return the Page.
String toSpecifier ()
Retrieves the object specifier.
TransformationMatrix transformValuesOf (in:CoordinateSpaces)
Get the transformation values of the page item.
|
Parameter |
Type |
Description |
|---|---|---|
|
in |
The coordinate space to use |
Bookmark.destination
LayoutWindow.activePage
HyperlinkPageDestination.destinationPage
Button.parent
FormField.parent
GraphicLine.parent
Group.parent
Guide.parent
MarginPreference.parent
Oval.parent
PageItem.parent
Polygon.parent
Rectangle.parent
TextFrame.parent
Section.pageStart