[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.LayerCollection.Item

this Property

this[int]

Gets or sets a specific Layer object in the LayerCollection by position.

Declaration
public Layer this[int index] { get; set; }
Parameters
Type Name Description
int index

A zero-based int index of the Layer to return or set.

Property Value
Type Description
Layer

A Layer object at the specified position.

Implements
Examples
LayerCollection collection = new LayerCollection(_report);
collection.Add(new Layer("Layer1"));
Layer layer = collection[0];