Edit in GitHubLog an issue

HyperlinkTextDestinations

A collection of hyperlink text destinations.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

HyperlinkTextDestination add( Text destination, Object withProperties )

Creates a new hyperlink text destination.

Parameters

TypeNameDescription
Text
destination
The text or insertion point location that the hyperlink points to.
Object
withProperties
Initial values for properties of the new HyperlinkTextDestination (Optional)

Number count()

Displays the number of elements in the HyperlinkTextDestination.


HyperlinkTextDestination item( Mixed index )

Returns the HyperlinkTextDestination with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

HyperlinkTextDestination itemByName( String name )

Returns the HyperlinkTextDestination with the specified name.

Parameters

TypeNameDescription
String
name
The name.

HyperlinkTextDestination itemByID( Number id )

Returns the HyperlinkTextDestination with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

HyperlinkTextDestination itemByRange( Mixed from, Mixed to )

Returns the HyperlinkTextDestinations within the specified range.

Parameters

TypeNameDescription
Mixed
from
The HyperlinkTextDestination, index, or name at the beginning of the range. Can accept: HyperlinkTextDestination, Long Integer or String.
Mixed
to
The HyperlinkTextDestination, index, or name at the end of the range. Can accept: HyperlinkTextDestination, Long Integer or String.

HyperlinkTextDestination firstItem()

Returns the first HyperlinkTextDestination in the collection.


HyperlinkTextDestination lastItem()

Returns the last HyperlinkTextDestination in the collection.


HyperlinkTextDestination middleItem()

Returns the middle HyperlinkTextDestination in the collection.


HyperlinkTextDestination previousItem( HyperlinkTextDestination obj )

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

Parameters

TypeNameDescription
HyperlinkTextDestination
obj
The index of the HyperlinkTextDestination that follows the desired HyperlinkTextDestination.

HyperlinkTextDestination nextItem( HyperlinkTextDestination obj )

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

Parameters

TypeNameDescription
HyperlinkTextDestination
obj
The HyperlinkTextDestination whose index comes before the desired HyperlinkTextDestination.

HyperlinkTextDestination anyItem()

Returns any HyperlinkTextDestination in the collection.


HyperlinkTextDestination everyItem()

Returns every HyperlinkTextDestination in the collection.


String toSource()

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


HyperlinkTextDestination []( Number index )

Returns the HyperlinkTextDestination with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.