This documentation is for the old version. Go to the latest Graphics Mill docs

LayerCollection Members

The LayerCollection type exposes the following members.

Methods

Name Description
Public method add

Adds the specified item 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 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.

Properties

Name Description
Public property count

Gets the number of items actually contained in the collection.

(Inherited from Collection.)
Public property item

Gets the item at the specified index.

(Inherited from Collection.)

Events

Name Description
Public event itemAdded

Fires when the an item is added to the collection.

(Inherited from Collection.)
Public event itemMoved

Fires when the an item is moved from one position to another.

(Inherited from Collection.)
Public event itemRemoved

Fires when the an item is removed from the collection.

(Inherited from Collection.)

See Also

Reference