Adobe InDesign CS (3.0) Object Model JS: HyperlinkURLDestination
From InDesign CS
Class
HyperlinkURLDestination
A hyperlink destination that is a URL.QuickLinks
extractLabel, insertLabel, remove, showDestinationHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| destinationURL | string | r/w | The URL the hyperlink points to. |
| hidden | bool | readonly | If true, the hyperlink is hidden. |
| id | number | readonly | The unique ID of the HyperlinkURLDestination. |
| index | number | readonly | The index of the HyperlinkURLDestination within its containing object. |
| label | string | r/w | A property that can be set to any string. |
| name | string | r/w | The name of the HyperlinkURLDestination. |
| parent | Document | readonly | The parent of the HyperlinkURLDestination (a Document). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
string extractLabel (key:
string)
Gets the label value associated with the specified key.
| Parameter | Type | Description |
|---|---|---|
| key | string | The key. |
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
| Parameter | Type | Description |
|---|---|---|
| key | string | The key. |
| value | string | The value. |
void remove ()
Deletes the HyperlinkURLDestination.
void showDestination ()
Jumps to the hyperlink destination.
Element of
Bookmark.destination
Hyperlink.destination
Used in:
Bookmark Bookmarks.add (destination: any[, withProperties: Object])
Hyperlink Hyperlinks.add (hyperlinkSource: any[, hyperlinkDestination: any][, withProperties: Object])
Return
HyperlinkURLDestination HyperlinkURLDestinations.add ([destination: string][, withProperties: Object])
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |