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 a layer to the end of the collection.

(Overrides Collection<Layer>.Add(T).)
Public method Clear

Removes all layers from the collection.

(Overrides Collection<Layer>.Clear().)
Public method Contains

Determines whether an item is in the Collection<T>.

(Inherited from Collection<T>.)
Public method CopyTo

Copies the entire Collection<T> to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from Collection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator

Returns an enumerator that iterates through the Collection<T>.

(Inherited from Collection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetLayersByName

Search layers with the specified name.

Public method GetType (Inherited from Object.)
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<T>.

(Inherited from Collection<T>.)
Public method Insert

Inserts a layer into the collection at the specified index.

(Overrides Collection<Layer>.Insert(Int32, T).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Move

Moves a layer from one position to another.

(Overrides Collection<Layer>.Move(Int32, Int32).)
Public method Remove

Removes the first occurrence of a specified Layer from the collection.

(Overrides Collection<Layer>.Remove(T).)
Public method RemoveAt

Removes the layer at the specified index of the collection.

(Overrides Collection<Layer>.RemoveAt(Int32).)
Public method ToString (Inherited from Object.)

Properties

Name Description
Public property Canvas

Gets a reference to the Canvas object this LayerCollection belongs to.

Public property Count

Gets the number of items actually contained in the Collection<T>.

(Inherited from Collection<T>.)
Public property IsReadOnly

Gets a value indicating whether the collection is read-only.

(Inherited from Collection<T>.)
Public property Item

Gets or sets the layer at the specified index.

(Overrides Collection<Layer>.Item[Int32].)

See Also

Reference