[]
Gets or sets a specific Layer object in the LayerCollection by position.
public Layer this[int index] { get; set; }
| Type | Name | Description |
|---|---|---|
| int | index |
| Type | Description |
|---|---|
| Layer | A Layer object at the specified position. |
LayerCollection collection = new LayerCollection(_report);
collection.Add(new Layer("Layer1"));
Layer layer = collection[0];