InDesign Server2025
API 20.5.0.49
Collection of SplineItem

SplineItems

The spline items collection.

Properties

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

Methods

SplineItem

Returns the SplineItem with the specified index.

index Number The index.
SplineItem

Returns any SplineItem in the collection.

Number

Displays the number of elements in the SplineItem.

SplineItem[]

Returns every SplineItem in the collection.

SplineItem

Returns the first SplineItem in the collection.

SplineItem

Returns the SplineItem with the specified index or name.

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

Returns the SplineItem with the specified ID.

id Number The ID.
SplineItem

Returns the SplineItem with the specified name.

name String The name.
SplineItem[]

Returns the SplineItems within the specified range.

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

Returns the last SplineItem in the collection.

SplineItem

Returns the middle SplineItem in the collection.

SplineItem

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

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

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

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

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

Object of 37

Properties elsewhere that hold a SplineItems.