A collection of imported graphics in any graphic file format (vector, metafile, or bitmap).
Go to Property Listing | Method Listing
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. |
Graphic anyItem ()
Returns any Graphic in the collection.
Number count ()
Displays the number of elements in the Graphic.
Graphic everyItem ()
Returns every Graphic in the collection.
Graphic firstItem ()
Returns the first Graphic in the collection.
Graphic item (index:Varies LongInteger String)
Returns the Graphic with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Graphic itemByID (id:Number)
Returns the Graphic with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
Graphic itemByName (name:String)
Returns the Graphic with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
Graphic itemByRange (from:Varies Graphic LongInteger String, to:Varies Graphic LongInteger String)
Returns the Graphics within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
LongInteger |
The Graphic, index, or name at the beginning of the range. Can accept: Graphic, Long Integer or String. |
|
to |
LongInteger |
The Graphic, index, or name at the end of the range. Can accept: Graphic, Long Integer or String. |
Graphic lastItem ()
Returns the last Graphic in the collection.
Graphic middleItem ()
Returns the middle Graphic in the collection.
Graphic nextItem (obj:Graphic)
Returns the Graphic whose index follows the specified Graphic in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The Graphic whose index comes before the desired Graphic. |
Graphic previousItem (obj:Graphic)
Returns the Graphic with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the Graphic that follows the desired Graphic. |
String toSource ()
Generates a string which, if executed, will return the Graphic.