InDesign2026
API 21.5.1.73
Collection of LayoutWindow

LayoutWindows

A collection of layout windows.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ LayoutWindow

Returns the LayoutWindow with the specified index.

index Number The index.
→ LayoutWindow

Returns any LayoutWindow in the collection.

→ Number

Displays the number of elements in the LayoutWindow.

→ LayoutWindow[]

Returns every LayoutWindow in the collection.

→ LayoutWindow

Returns the first LayoutWindow in the collection.

→ LayoutWindow

Returns the LayoutWindow with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ LayoutWindow

Returns the LayoutWindow with the specified name.

name String The name.
→ LayoutWindow[]

Returns the LayoutWindows within the specified range.

from LayoutWindow | LongInteger | String The LayoutWindow, index, or name at the beginning of the range. Can accept: LayoutWindow, Long Integer or String.
to LayoutWindow | LongInteger | String The LayoutWindow, index, or name at the end of the range. Can accept: LayoutWindow, Long Integer or String.
→ LayoutWindow

Returns the last LayoutWindow in the collection.

→ LayoutWindow

Returns the middle LayoutWindow in the collection.

→ LayoutWindow

Returns the LayoutWindow whose index follows the specified LayoutWindow in the collection.

obj LayoutWindow The LayoutWindow whose index comes before the desired LayoutWindow.
→ LayoutWindow

Returns the LayoutWindow with the index previous to the specified index.

obj LayoutWindow The index of the LayoutWindow that follows the desired LayoutWindow.
→ String

Generates a string which, if executed, will return the LayoutWindow.

Object of 2

Properties elsewhere that hold a LayoutWindows.