Graphics

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

Methods

GraphicanyItem ()
Returns any Graphic in the collection.

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

Array of GraphiceveryItem ()
Returns every Graphic in the collection.

GraphicfirstItem ()
Returns the first Graphic in the collection.

Graphicitem (index:
any)
Returns the Graphic with the specified index or name.

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

GraphicitemByID (id:
number)
Returns the Graphic with the specified ID.

Parameter Type Description
id number The ID.

GraphicitemByName (name:
string)
Returns the Graphic with the specified name.

Parameter Type Description
name string The name.

Array of GraphicitemByRange (from:
any, to:
any)
Returns the Graphics within the specified range.

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

GraphiclastItem ()
Returns the last Graphic in the collection.

GraphicmiddleItem ()
Returns the middle Graphic in the collection.

GraphicnextItem (obj:
Graphic)
Returns the Graphic whose index follows the specified Graphic in the collection.

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

GraphicpreviousItem (obj:
Graphic)
Returns the Graphic with the index previous to the specified index.

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

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

Element of:

Button.graphics
GraphicLine.graphics
Group.graphics
Oval.graphics
PageItem.graphics
Polygon.graphics
Rectangle.graphics
State.graphics

Leave a Comment

Previous post:

Next post: