InDesign2026
API 21.5.1.73

HyperlinkURLDestinations

A collection of hyperlink URL destinations.

Properties

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

Methods

→ HyperlinkURLDestination

Creates a new hyperlink URL destination.

destination? String The URL that the hyperlink points to.
withProperties? Object Initial values for properties of the new HyperlinkURLDestination
→ Number

Displays the number of elements in the HyperlinkURLDestination.

→ HyperlinkURLDestination

Returns the HyperlinkURLDestination with the specified index or name.

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

Returns the HyperlinkURLDestinations within the specified range.

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

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

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

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

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

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

Object of 1

Properties elsewhere that hold a HyperlinkURLDestinations.