HyperlinksCrossReferenceFormats

A collection of cross reference formats.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[name] ​[, withProperties])
 → CrossReferenceFormat
count(
)
 → number
item(
index)
 → CrossReferenceFormat
itemByRange(
from, to)
 → CrossReferenceFormat
toSource(
)
 → string
add(
[name] ​[, withProperties])
 → CrossReferenceFormat
Creates a new cross reference format.
name string The format name. (Optional)
withProperties Object Initial values for properties of the new CrossReferenceFormat (Optional)
anyItem(
)
 → CrossReferenceFormat
Returns any CrossReferenceFormat in the collection.
count(
)
 → number
Displays the number of elements in the CrossReferenceFormat.
everyItem(
)
 → CrossReferenceFormat
Returns every CrossReferenceFormat in the collection.
firstItem(
)
 → CrossReferenceFormat
Returns the first CrossReferenceFormat in the collection.
item(
index)
 → CrossReferenceFormat
Returns the CrossReferenceFormat with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → CrossReferenceFormat
Returns the CrossReferenceFormat with the specified ID.
id number The ID.
itemByName(
name)
 → CrossReferenceFormat
Returns the CrossReferenceFormat with the specified name.
name string The name.
itemByRange(
from, to)
 → CrossReferenceFormat
Returns the CrossReferenceFormats within the specified range.
from The CrossReferenceFormat, index, or name at the beginning of the range. Can accept: CrossReferenceFormat, Long Integer or String.
to The CrossReferenceFormat, index, or name at the end of the range. Can accept: CrossReferenceFormat, Long Integer or String.
lastItem(
)
 → CrossReferenceFormat
Returns the last CrossReferenceFormat in the collection.
middleItem(
)
 → CrossReferenceFormat
Returns the middle CrossReferenceFormat in the collection.
nextItem(
obj)
 → CrossReferenceFormat
Returns the CrossReferenceFormat whose index follows the specified CrossReferenceFormat in the collection.
obj CrossReferenceFormat The CrossReferenceFormat whose index comes before the desired CrossReferenceFormat.
previousItem(
obj)
 → CrossReferenceFormat
Returns the CrossReferenceFormat with the index previous to the specified index.
obj CrossReferenceFormat The index of the CrossReferenceFormat that follows the desired CrossReferenceFormat.
toSource(
)
 → string
Generates a string which, if executed, will return the CrossReferenceFormat.