InDesign2026
API 21.5.1.73
Collection of NestedGrepStyle

NestedGrepStyles

A collection of nested GREP styles.

Properties

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

Methods

NestedGrepStyle

Returns the NestedGrepStyle with the specified index.

index Number The index.
NestedGrepStyle

Creates a new NestedGrepStyle.

withProperties? Object Initial values for properties of the new NestedGrepStyle
NestedGrepStyle

Returns any NestedGrepStyle in the collection.

Number

Displays the number of elements in the NestedGrepStyle.

NestedGrepStyle[]

Returns every NestedGrepStyle in the collection.

NestedGrepStyle

Returns the first NestedGrepStyle in the collection.

NestedGrepStyle

Returns the NestedGrepStyle with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
NestedGrepStyle[]

Returns the NestedGrepStyles within the specified range.

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

Returns the last NestedGrepStyle in the collection.

NestedGrepStyle

Returns the middle NestedGrepStyle in the collection.

NestedGrepStyle

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

obj NestedGrepStyle The NestedGrepStyle whose index comes before the desired NestedGrepStyle.
NestedGrepStyle

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

obj NestedGrepStyle The index of the NestedGrepStyle that follows the desired NestedGrepStyle.
String

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

Object of 12

Properties elsewhere that hold a NestedGrepStyles.