A collection of hyperlinks.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
Hyperlink add (hyperlinkSource:Varies HyperlinkPageItemSource HyperlinkTextSource, hyperlinkDestination:Array of Varies Strings HyperlinkExternalPageDestination HyperlinkPageDestination HyperlinkTextDestination LongIntegers Booleans HyperlinkURLDestination, withProperties:Object)
Creates a new hyperlink.
|
Parameter |
Type |
Description |
|---|---|---|
|
hyperlinkSource |
The hyperlinked object. Can accept: HyperlinkPageItemSource or HyperlinkTextSource. |
|
|
hyperlinkDestination |
Array of Strings HyperlinkExternalPageDestination LongIntegers Booleans Boolean |
The destination that the hyperlink points to. . Can accept: Array of Strings, Long Integers or Booleans, HyperlinkTextDestination, HyperlinkPageDestination, HyperlinkExternalPageDestination or HyperlinkURLDestination. (Optional) |
|
withProperties |
Initial values for properties of the new Hyperlink (Optional) |
Hyperlink anyItem ()
Returns any Hyperlink in the collection.
Number count ()
Displays the number of elements in the Hyperlink.
Hyperlink everyItem ()
Returns every Hyperlink in the collection.
Hyperlink firstItem ()
Returns the first Hyperlink in the collection.
Hyperlink item (index:Varies LongInteger String)
Returns the Hyperlink with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Hyperlink itemByID (id:Number)
Returns the Hyperlink with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
Hyperlink itemByName (name:String)
Returns the Hyperlink with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
Hyperlink itemByRange (from:Varies Hyperlink LongInteger String, to:Varies Hyperlink LongInteger String)
Returns the Hyperlinks within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
LongInteger |
The Hyperlink, index, or name at the beginning of the range. Can accept: Hyperlink, Long Integer or String. |
|
to |
LongInteger |
The Hyperlink, index, or name at the end of the range. Can accept: Hyperlink, Long Integer or String. |
Hyperlink lastItem ()
Returns the last Hyperlink in the collection.
Hyperlink middleItem ()
Returns the middle Hyperlink in the collection.
Hyperlink nextItem (obj:Hyperlink)
Returns the Hyperlink whose index follows the specified Hyperlink in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The Hyperlink whose index comes before the desired Hyperlink. |
Hyperlink previousItem (obj:Hyperlink)
Returns the Hyperlink with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the Hyperlink that follows the desired Hyperlink. |
String toSource ()
Generates a string which, if executed, will return the Hyperlink.
Document.hyperlinks