The LayerCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add |
Add a new layer to the end of this collection.
| |
| AddRange |
Add a layer array to the end of this collection.
| |
| Clear |
Remove all layers in this collection.
| |
| Clone |
Clones this LayerCollection, and detach it from the original document.
| |
| Contains |
Determine whether an Layer is in the LayerCollection.
| |
| GetEnumerator |
Implements strong typed IEnumerable<T>.GetEnumerator.
| |
| IndexOf |
Searches for the specified Layer in the LayerCollection.
| |
| Insert |
Inserts a new layer to this collection.
| |
| Remove |
Remove the specified layer.
| |
| RemoveAt |
Remove the layer on the specified index.
|
Properties
| Name | Description | |
|---|---|---|
| Count |
Get the number of Layers actually contained in the LayerCollection | |
| Item |
Get an Layer by zero-based index from the LayerCollection.
|