InDesign2026
API 21.5.1.73
Collection of DashedStrokeStyle

DashedStrokeStyles

A collection of dashed stroke styles.

Properties

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

Methods

DashedStrokeStyle

Creates a new DashedStrokeStyle.

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

Displays the number of elements in the DashedStrokeStyle.

DashedStrokeStyle[]

Returns every DashedStrokeStyle in the collection.

DashedStrokeStyle

Returns the first DashedStrokeStyle in the collection.

DashedStrokeStyle

Returns the DashedStrokeStyle with the specified index or name.

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

Returns the DashedStrokeStyle with the specified name.

name String The name.
DashedStrokeStyle[]

Returns the DashedStrokeStyles within the specified range.

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

Returns the last DashedStrokeStyle in the collection.

DashedStrokeStyle

Returns the middle DashedStrokeStyle in the collection.

DashedStrokeStyle

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

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

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

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

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

Object of 2

Properties elsewhere that hold a DashedStrokeStyles.