GraphicLayers

A collection of graphic layers.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

GraphicLayer [] (index:Number)

Returns the GraphicLayer with the specified index.

Parameter

Type

Description

index

Number

The index.

GraphicLayer anyItem ()

Returns any GraphicLayer in the collection.

Number count ()

Displays the number of elements in the GraphicLayer.

GraphicLayer everyItem ()

Returns every GraphicLayer in the collection.

GraphicLayer firstItem ()

Returns the first GraphicLayer in the collection.

GraphicLayer item (index:Varies LongInteger String)

Returns the GraphicLayer with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

GraphicLayer itemByID (id:Number)

Returns the GraphicLayer with the specified ID.

Parameter

Type

Description

id

Number

The ID.

GraphicLayer itemByName (name:String)

Returns the GraphicLayer with the specified name.

Parameter

Type

Description

name

String

The name.

GraphicLayer itemByRange (from:Varies GraphicLayer LongInteger String, to:Varies GraphicLayer LongInteger String)

Returns the GraphicLayers within the specified range.

Parameter

Type

Description

from

GraphicLayer

LongInteger

String

The GraphicLayer, index, or name at the beginning of the range. Can accept: GraphicLayer, Long Integer or String.

to

GraphicLayer

LongInteger

String

The GraphicLayer, index, or name at the end of the range. Can accept: GraphicLayer, Long Integer or String.

GraphicLayer lastItem ()

Returns the last GraphicLayer in the collection.

GraphicLayer middleItem ()

Returns the middle GraphicLayer in the collection.

GraphicLayer nextItem (obj:GraphicLayer)

Returns the GraphicLayer whose index follows the specified GraphicLayer in the collection.

Parameter

Type

Description

obj

GraphicLayer

The GraphicLayer whose index comes before the desired GraphicLayer.

GraphicLayer previousItem (obj:GraphicLayer)

Returns the GraphicLayer with the index previous to the specified index.

Parameter

Type

Description

obj

GraphicLayer

The index of the GraphicLayer that follows the desired GraphicLayer.

String toSource ()

Generates a string which, if executed, will return the GraphicLayer.

Object of

GraphicLayerOption.graphicLayers

GraphicLayer.graphicLayers