InDesign2026
API 21.5.1.73
Collection of DottedStrokeStyle

DottedStrokeStyles

A collection of dotted stroke styles.

Properties

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

Methods

DottedStrokeStyle

Creates a new DottedStrokeStyle.

withProperties? Object Initial values for properties of the new DottedStrokeStyle
Number

Displays the number of elements in the DottedStrokeStyle.

DottedStrokeStyle[]

Returns every DottedStrokeStyle in the collection.

DottedStrokeStyle

Returns the first DottedStrokeStyle in the collection.

DottedStrokeStyle

Returns the DottedStrokeStyle with the specified index or name.

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

Returns the DottedStrokeStyle with the specified name.

name String The name.
DottedStrokeStyle[]

Returns the DottedStrokeStyles within the specified range.

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

Returns the last DottedStrokeStyle in the collection.

DottedStrokeStyle

Returns the middle DottedStrokeStyle in the collection.

DottedStrokeStyle

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

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

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

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

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

Object of 2

Properties elsewhere that hold a DottedStrokeStyles.