[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.LayerCollection.Insert

Insert Method

Insert(int, Layer)

Inserts a new Layer into the LayerCollection at the specified location.

Declaration
public void Insert(int index, Layer item)
Parameters
Type Name Description
int index

A zero-based int index indicating the position at which to insert the Layer object.

Layer item

A Layer object to insert.

Implements
Examples
LayerCollection collection = new LayerCollection(_report);
collection.Insert(0, new Layer("Layer2"));