LayerCollection Methods

The LayerCollection type exposes the following members.

Methods

Name Description
Public method addRange

Adds the specified items to the end of the collection.

(Inherited from Collection.)
Public method clear

Removes all layers from the collection.

Public method contains

Determines whether the specified item is in the collection.

(Inherited from Collection.)
Public method getLayerById
Public method getLayersByName

Search layers with the specified name.

Public method getVObjectsByName

Search v-objects with the specified name.

Public method indexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.

(Inherited from Collection.)
Public method insert

Inserts a layer into the collection at the specified index.

Public method move

Moves a layer from one position to another.

Public method push

Pushes the specified item to the collection.

(Inherited from Collection.)
Public method removeAt

Removes the layer at the specified index of the collection.

Public method toArray (Inherited from Collection.)

See Also

Reference