LayoutWindow

A layout window.

LayoutWindow Properties

Property Type Access Description
activeLayer Layer r/w The active layer.
activePage Page r/w The active page.
activeSpread Spread, MasterSpread r/w The active spread.
bounds Array of 4 Longs r/w The bounds of the object (top, left, bottom, right) in pixels.
index Long read Index of the object within its parent object.
name String read The name of the object.
overprintPreview Boolean r/w If true, display a simulation of overprinting.
parent Object read The parent of the object.
preserveColorNumbers Boolean r/w If true, leave numbers unchanged for native and untagged elements.
proofingProfile String r/w The profile used for proofing.
proofingType ProofingType enumeration r/w The method of proofing.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.
selection Object, Array of Objects, NothingEnum enumeration r/w The selection of the front-most window.
simulateInkBlack Boolean r/w If true, adjust for the black point.
simulatePaperWhite Boolean r/w If true, adjust for white point.
transformReferencePoint AnchorPoint enumeration, Array of 2 Units r/w The default anchor point to transform objects around.
viewDisplaySetting ViewDisplaySettings enumeration r/w The local display performance settings for this view.
zoomPercentage Real (5 – 4000) r/w The current magnification.

LayoutWindow Methods

Method Returns Description
bringToFront Nothing Brings object to the front.
close Nothing Closes the window.
getElements Array of Objects Resolve the object specifier.
maximize Nothing Maximize the window.
minimize Nothing Minimize the window.
restore Nothing Restore the window.
select Nothing Selects the object.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.
zoom Nothing Zoom the window.

Leave a Comment

Previous post:

Next post: