HyperlinkTextSources

A collection of hyperlink text sources.

Methods

HyperlinkTextSourceadd (source:
Text[, withProperties:
Object])
Creates a new hyperlink text source.

Parameter Type Description
source Text The text or insertion point to hyperlink.
withProperties Object Initial values for properties of the new HyperlinkTextSource (Optional)

HyperlinkTextSourceanyItem ()
Returns any HyperlinkTextSource in the collection.

number count ()
Displays the number of elements in the HyperlinkTextSource.

Array of HyperlinkTextSourceeveryItem ()
Returns every HyperlinkTextSource in the collection.

HyperlinkTextSourcefirstItem ()
Returns the first HyperlinkTextSource in the collection.

HyperlinkTextSourceitem (index:
any)
Returns the HyperlinkTextSource with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

HyperlinkTextSourceitemByID (id:
number)
Returns the HyperlinkTextSource with the specified ID.

Parameter Type Description
id number The ID.

HyperlinkTextSourceitemByName (name:
string)
Returns the HyperlinkTextSource with the specified name.

Parameter Type Description
name string The name.

Array of HyperlinkTextSourceitemByRange (from:
any, to:
any)
Returns the HyperlinkTextSources within the specified range.

Parameter Type Description
from HyperlinkTextSource
Long Integer
String
The HyperlinkTextSource, index, or name at the beginning of the range. Can accept: HyperlinkTextSource, Long Integer or String.
to HyperlinkTextSource
Long Integer
String
The HyperlinkTextSource, index, or name at the end of the range. Can accept: HyperlinkTextSource, Long Integer or String.

HyperlinkTextSourcelastItem ()
Returns the last HyperlinkTextSource in the collection.

HyperlinkTextSourcemiddleItem ()
Returns the middle HyperlinkTextSource in the collection.

HyperlinkTextSourcenextItem (obj:
HyperlinkTextSource)
Returns the HyperlinkTextSource whose index follows the specified HyperlinkTextSource in the collection.

Parameter Type Description
obj HyperlinkTextSource The HyperlinkTextSource whose index comes before the desired HyperlinkTextSource.

HyperlinkTextSourcepreviousItem (obj:
HyperlinkTextSource)
Returns the HyperlinkTextSource with the index previous to the specified index.

Parameter Type Description
obj HyperlinkTextSource The index of the HyperlinkTextSource that follows the desired HyperlinkTextSource.

string toSource ()
Generates a string which, if executed, will return the HyperlinkTextSource.

Element of:

Document.hyperlinkTextSources

Leave a Comment

Previous post:

Next post: