LayoutGraphics

A collection of imported graphics in any graphic file format (vector, metafile, or bitmap).

Instance Properties

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

Methods

anyItem(
)
 → Graphic
count(
)
 → number
everyItem(
)
 → Graphic
firstItem(
)
 → Graphic
item(
index)
 → Graphic
itemByID(
id)
 → Graphic
itemByName(
name)
 → Graphic
itemByRange(
from, to)
 → Graphic
lastItem(
)
 → Graphic
middleItem(
)
 → Graphic
nextItem(
obj)
 → Graphic
previousItem(
obj)
 → Graphic
toSource(
)
 → string
anyItem(
)
 → Graphic
Returns any Graphic in the collection.
count(
)
 → number
Displays the number of elements in the Graphic.
everyItem(
)
 → Graphic
Returns every Graphic in the collection.
firstItem(
)
 → Graphic
Returns the first Graphic in the collection.
item(
index)
 → Graphic
Returns the Graphic with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → Graphic
Returns the Graphic with the specified ID.
id number The ID.
itemByName(
name)
 → Graphic
Returns the Graphic with the specified name.
name string The name.
itemByRange(
from, to)
 → Graphic
Returns the Graphics within the specified range.
from The Graphic, index, or name at the beginning of the range. Can accept: Graphic, Long Integer or String.
to The Graphic, index, or name at the end of the range. Can accept: Graphic, Long Integer or String.
lastItem(
)
 → Graphic
Returns the last Graphic in the collection.
middleItem(
)
 → Graphic
Returns the middle Graphic in the collection.
nextItem(
obj)
 → Graphic
Returns the Graphic whose index follows the specified Graphic in the collection.
obj Graphic The Graphic whose index comes before the desired Graphic.
previousItem(
obj)
 → Graphic
Returns the Graphic with the index previous to the specified index.
obj Graphic The index of the Graphic that follows the desired Graphic.
toSource(
)
 → string
Generates a string which, if executed, will return the Graphic.