A master spread.
Go to Property Listing | Method Listing
createGuides, duplicate, extractLabel, insertLabel, place, remove
Boolean, Buttons, FormFields, Graphic, GraphicLines, Groups, Guides, MasterSpread, NothingEnum, Number, Object, Ovals, PageItem, PageItems, Pages, Polygons, Rectangles, String, TextFrames
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
Lists all graphics contained by the MasterSpread. |
||
|
readonly |
Lists all page items contained by the MasterSpread. |
||
|
read/write |
The master spread applied to the MasterSpread. Can also accept: NothingEnum enumerator. |
||
|
read/write |
The name of the master spread. |
||
|
readonly |
A collection of buttons. |
||
|
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 MasterSpread. |
||
|
readonly |
The index of the MasterSpread within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
readonly |
The name of the MasterSpread. |
||
|
read/write |
The prefix of the master spread name. |
||
|
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 MasterSpread (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 MasterSpread (Optional) |
MasterSpread duplicate ()
Duplicates the MasterSpread.
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.
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 MasterSpread.