LayoutWindow
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
activeLayer | Layer | r/w | The active layer |
activePage | Page | r/w | The front-most page. |
activeSpread | MasterSpreadSpread | r/w | The front-most spread. Can return: Spread or MasterSpread. |
bounds | Array of number | r/w | The bounds of the window (specified in pixels) in the form [top, left, bottom, right]. |
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 | Application Document |
readonly | The parent of the LayoutWindow (a Document or Application). |
preserveColorNumbers | bool | r/w | If true, leaves color values unchanged for CMYK objects without embedded profiles and native objects such as line art or type. Note: Converts images whose profiles differ from the profile of the simulated device. Valid only when proofing type is custom. |
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 (range: 5 - 4000) | r/w | The size (as a percentage) to which to enlarge or reduce the view of the document. (Range: 5 to 4000) |
Methods
Instances
void bringToFront ()
Brings the LayoutWindow to the front.
void close ()
Closes the LayoutWindow.
Array
of Object getElements ()
Resolves the object specifier, creating an array of object references.
void maximize ()
Maximizes the window.
void minimize ()
Minimizes the window.
void restore ()
Restores the window.
void select (selectableItems:
any[, existingSelection:
SelectionOptions=SelectionOptions.REPLACE_WITH])
Selects the specified object(s).
Parameter | Type | Description |
---|---|---|
selectableItems |
Array
of Objects NothingEnum Object SelectAll | The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator. |
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE_WITH | The selection status of the LayoutWindow in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
string toSource ()
Generates a string which, if executed, will return the LayoutWindow.
string toSpecifier ()
Retrieves the object specifier.
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
Used in:
array of LayoutWindow LayoutWindows.itemByRange (from: any, to: any)
LayoutWindow LayoutWindows.nextItem (obj: LayoutWindow)
LayoutWindow LayoutWindows.previousItem (obj: LayoutWindow)
Return
LayoutWindow LayoutWindows.anyItem ()
Array of LayoutWindow LayoutWindows.everyItem ()
LayoutWindow LayoutWindows.firstItem ()
LayoutWindow LayoutWindows.item (index: any)
LayoutWindow LayoutWindows.itemByName (name: string)
Array of LayoutWindow LayoutWindows.itemByRange (from: any, to: any)
LayoutWindow LayoutWindows.lastItem ()
LayoutWindow LayoutWindows.middleItem ()
LayoutWindow LayoutWindows.nextItem (obj: LayoutWindow)
LayoutWindow LayoutWindows.previousItem (obj: LayoutWindow)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |