Class
A layout window. Base Class: Window
bringToFront, close, maximize, minimize, restore, select, zoom
LayoutWindow
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
activeLayer | Layer | r/w | The active layer |
activePage | Page | r/w | The front-most page. |
activeSpread | Spread | r/w | The active spread. |
bounds | Array of Measurement Unit (Number or String) | r/w | The bounds of the LayoutWindow, in the format [y1, x1, y2, x2]. |
index | number | readonly | The index of the LayoutWindow within its containing object. |
name | string | readonly | The name of the LayoutWindow. |
overprintPreview | bool | r/w | If true, display a simulation of overprinting. |
parent | ApplicationDocument | readonly | The parent of the LayoutWindow (a Document or Application). |
proofingProfile | string | r/w | The profile used for proofing colors. |
proofingType | ProofingType: ProofingType.PROOF_OFF ProofingType.DOCUMENT_CMYK ProofingType.WORKING_CMYK ProofingType.CUSTOM |
r/w | The method of proofing colors. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
selection |
Array
of Objects NothingEnum Object |
r/w | The selection. Can return: Object, Array of Objects or NothingEnum enumerator. |
simulateInkBlack | bool | r/w | If true, simulates the dark gray produced by many printers in place of solid black, according to the proofing profile. Note: Valid only when proofing type is custom. |
simulatePaperWhite | bool | r/w | If true, simulates the dingy white of real paper, according to the proofing profile. Note: Valid only when proofing type is custom. |
transformReferencePoint | AnchorPoint Array of 2 Units |
r/w | The default anchor point around which to transform objects. Can return: AnchorPoint enumerator or Array of 2 Units. |
viewDisplaySetting | ViewDisplaySettings: ViewDisplaySettings.HIGH_QUALITY ViewDisplaySettings.TYPICAL ViewDisplaySettings.OPTIMIZED |
r/w | The display performance preferences override for the view. |
zoomPercentage | number | r/w | The current zoom. |
Methods
Instances
void bringToFront ()
Brings the LayoutWindow to the front.
void close ()
Closes the LayoutWindow.
void maximize ()
Maximizes the window.
void minimize ()
Minimizes the window.
void restore ()
Restores the window.
void select (selectableItems:
any[, existingSelection:
SelectionOptions=SelectionOptions.REPLACE])
Select one or more objects.
Parameter | Type | Description |
---|---|---|
selectableItems |
Array
of Objects NothingEnum Object | The object(s) to select. Can accept: Object, Array of Objects or NothingEnum enumerator. |
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE | How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE) |
void zoom (given:
ZoomOptions)
Magnifies or reduces the window to the specified display size.
Parameter | Type | Description |
---|---|---|
given | ZoomOptions: ZoomOptions.ZOOM_IN ZoomOptions.ZOOM_OUT ZoomOptions.FIT_SPREAD ZoomOptions.FIT_PAGE ZoomOptions.SHOW_PASTEBOARD ZoomOptions.ACTUAL_SIZE | The display size. |
Element of
Application.activeWindow
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |