PICTs

A collection of PICT graphics.

Methods

PICTanyItem ()
Returns any PICT in the collection.

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

Array of PICTeveryItem ()
Returns every PICT in the collection.

PICTfirstItem ()
Returns the first PICT in the collection.

PICTitem (index:
any)
Returns the PICT with the specified index or name.

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

PICTitemByID (id:
number)
Returns the PICT with the specified ID.

Parameter Type Description
id number The ID.

PICTitemByName (name:
string)
Returns the PICT with the specified name.

Parameter Type Description
name string The name.

Array of PICTitemByRange (from:
any, to:
any)
Returns the PICTs within the specified range.

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

PICTlastItem ()
Returns the last PICT in the collection.

PICTmiddleItem ()
Returns the middle PICT in the collection.

PICTnextItem (obj:
PICT)
Returns the PICT whose index follows the specified PICT in the collection.

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

PICTpreviousItem (obj:
PICT)
Returns the PICT with the index previous to the specified index.

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

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

Element of:

Button.picts
GraphicLine.picts
Group.picts
Oval.picts
PageItem.picts
Polygon.picts
Rectangle.picts
State.picts
XMLElement.picts

Leave a Comment

Previous post:

Next post: