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

LayerCollection Methods

The LayerCollection type exposes the following members.

Methods

Name Description
Public method Add Overloaded.

Adds an object to the end of the layer collection.

Public method Clear

Removes all layers from the collection.

Public method Contains Overloaded.

Determines whether an object is in the layer collection.

Public method CopyTo

Copies the collection to a one-dimensional array, starting at the specified index of the target array.

Public method Deserialize

Deserializes a layer collection.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator

Returns an enumerator for the layers allowing the collection to be used in foreach blocks.

Public method GetHashCode (Inherited from Object.)
Public method GetObjectData

Populates a SerializationInfo with the data needed to serialize the collection object.

Public method GetType (Inherited from Object.)
Public method IndexOf Overloaded.

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

Public method Insert Overloaded.

Inserts an object into the layer collection at the specified index.

Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Overloaded.

Removes the first occurrence of a specific object from the layer collection.

Public method RemoveAt

Removes the layer at the specified index of the collection.

Public method Serialize

Serializes a layer collection.

Public method ToString (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit interface implemetation Private method ICollection.CopyTo

See Also

Reference