InDesign Server2025
API 20.5.0.49
Collection of ParagraphDestination

ParagraphDestinations

A collection of paragraph destinations.

Properties

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

Methods

ParagraphDestination

Creates a new paragraph destination.

destination Text The text or insertion point inside the paragraph that the cross reference points to. The insertion point is always adjusted to the beginning of the paragraph.
withProperties? Object Initial values for properties of the new ParagraphDestination
Number

Displays the number of elements in the ParagraphDestination.

ParagraphDestination

Returns the ParagraphDestination with the specified index or name.

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

Returns the ParagraphDestinations within the specified range.

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

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

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

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

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

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

Object of 1

Properties elsewhere that hold a ParagraphDestinations.