InDesign Server2025
API 20.5.0.49
Collection of CrossReferenceFormat

CrossReferenceFormats

A collection of cross reference formats.

Properties

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

Methods

→ CrossReferenceFormat

Creates a new cross reference format.

name? String The format name.
withProperties? Object Initial values for properties of the new CrossReferenceFormat
→ Number

Displays the number of elements in the CrossReferenceFormat.

→ CrossReferenceFormat

Returns the CrossReferenceFormat with the specified index or name.

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

Returns the CrossReferenceFormats within the specified range.

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

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

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

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

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

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

Object of 1

Properties elsewhere that hold a CrossReferenceFormats.