Adobe InDesign CS (3.0) Object Model JS: HyperlinkPageItemSource

InDesign CS

Class

HyperlinkPageItemSource

 A hyperlinked page item.

QuickLinks

extractLabel, insertLabel, remove, showSource

Hierarchy

Document
HyperlinkPageItemSource

Properties

PropertyTypeAccessDescription
hiddenbool readonlyIf true, the hyperlink is hidden.
idnumber readonlyThe unique ID of the HyperlinkPageItemSource.
indexnumber readonlyThe index of the HyperlinkPageItemSource within its containing object.
labelstring r/wA property that can be set to any string.
namestring r/wThe name of the HyperlinkPageItemSource.
parentDocument readonlyThe parent of the HyperlinkPageItemSource (a Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
sourcePageItemPageItem r/wThe hyperlinked page item.

Methods

Instances

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void remove ()
Deletes the HyperlinkPageItemSource.

void showSource ()
Jumps to the hyperlink source.

Element of

Hyperlink.source

Used in:

Hyperlink Hyperlinks.add (hyperlinkSource: any[, hyperlinkDestination: any][, withProperties: Object])

Return

HyperlinkPageItemSource HyperlinkPageItemSources.add (source: PageItem[, withProperties: Object])

Jongware, 27-Jun-2010 v3.0.3dContents :: Index