A spread.
Go to Property Listing | Method Listing
createGuides, duplicate, extractLabel, insertLabel, move, place, remove, removeOverride
Boolean, Buttons, FlattenerPreference, FormFields, Graphic, GraphicLines, Groups, Guides, MasterSpread, NothingEnum, Number, Object, Ovals, PageItem, PageItems, Pages, Polygons, Rectangles, SpreadFlattenerLevel, String, TextFrames
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the Spread. |
||
|
readonly |
Lists all page items contained by the Spread. |
||
|
read/write |
The master spread applied to the Spread. Can also accept: NothingEnum enumerator. |
||
|
readonly |
A collection of buttons. |
||
|
read/write |
The transparency flattener preferences override for the spread. |
||
|
readonly |
Flattener preference settings. |
||
|
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 Spread. |
||
|
readonly |
The index of the Spread within its containing object. |
||
|
read/write |
If true, keeps the spread's pages together when the spread is moved. Also, allows the addition of pages in the spread by moving or creating pages before or after any of the existing pages in the spread. If false, the pages in the spread are redistributed to match the facing pages pattern for the document. |
||
|
read/write |
A property that can be set to any string. |
||
|
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 |
A collection of pages. |
||
|
readonly |
The parent of the Spread (a Document). |
||
|
readonly |
A collection of polygons. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of rectangles. |
||
|
read/write |
If true, displays master page items on document pages in the spread. |
||
|
readonly |
A collection of text frames. |
undefined createGuides ([numberOfRows:Number=Number], [numberOfColumns:Number=Number], [rowGutter:Number String], [columnGutter:Number String], guideColor:Array of Varies 3 Reals (0 - 255) UIColors, [fitMargins:Boolean=Boolean], [removeExisting:Boolean=Boolean], layer:Layer)
Creates multiple guides on all pages of a spread
|
Parameter |
Type |
Description |
|---|---|---|
|
numberOfRows |
Number of rows of guides on a page (Optional) (default: 0) |
|
|
numberOfColumns |
Number of columns of guides on a page (Optional) (default: 0) |
|
|
rowGutter |
The amount of gutter between rows (Optional) |
|
|
columnGutter |
The amount of gutter between columns (Optional) |
|
|
guideColor |
Array of 3 Reals (0 - 255) |
The guide's color. Can accept: Array of 3 Reals (0 - 255) or UIColors enumerator. (Optional) |
|
fitMargins |
Whether the guides should fit to margins or fit to page (Optional) (default: false) |
|
|
removeExisting |
Whether to remove existing guides (Optional) (default: false) |
|
|
layer |
The layer on which to create the Spread (Optional) |
Spread duplicate ([to:LocationOptions=LocationOptions], reference:Varies Spread Document)
Duplicate the Spread at before/after another Spread, or at the beginning/end of a document
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
Location (Optional) (default: LocationOptions.AT_END) |
|
|
reference |
Before/after an existing spread or at the beginning/end of a parent. Can accept: Spread or Document. (Optional) |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
Spread move ([to:LocationOptions=LocationOptions], reference:Varies Page Spread Document)
Moves the spread.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The location of the spread relative to the reference object or within the document. (Optional) (default: LocationOptions.AT_END) |
|
|
reference |
The reference object. Note: Required when the to parameter specifies before or after. Can accept: Spread, Page or Document. (Optional) |
Varies place (fileName:File, placePoint:Array of Number String, destinationLayer:Array of Varies Layer Layers. , [showingOptions:Boolean=Boolean], [autoflowing:Boolean=Boolean], [retainingFormatting:Boolean=Boolean], [convertingQuotes:Boolean=Boolean], withProperties:Object)
Places a file in the document.
|
Parameter |
Type |
Description |
|---|---|---|
|
fileName |
The file to place. |
|
|
placePoint |
The point where to place the object (only applicable if you are telling a page or spread to place) (Optional) |
|
|
destinationLayer |
Array of Layers. |
The layer(s) to place the file on (only valid if you are telling a page or spread to place). Can accept: Layer or Array of Layers. (Optional) |
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
|
autoflowing |
Whether to autoflow placed text (Optional) (default: false) |
|
|
retainingFormatting |
Whether to keep formatting of placed text files (Optional) (default: true) |
|
|
convertingQuotes |
Whether to convert to typographer's quotes (Optional) (default: true) |
|
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined remove ()
Deletes the Spread.
undefined removeOverride ()
Removes the override from a previously overridden master page item.
LayoutWindow.activeSpread
Button.parent
FlattenerPreference.parent
FormField.parent
GraphicLine.parent
Group.parent
Guide.parent
Oval.parent
Page.parent
PageItem.parent
Polygon.parent
Rectangle.parent
TextFrame.parent