ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / LayerCollection Class / Add Method
A Layer object to add.
Example

In This Topic
    Add Method (LayerCollection)
    In This Topic
    Adds a Layer object to the LayerCollection.
    Syntax
    'Declaration
     
    Public Sub Add( _
       ByVal item As Layer _
    ) 
    public void Add( 
       Layer item
    )

    Parameters

    item
    A Layer object to add.
    Example
    LayerCollection collection = new LayerCollection(_report);
    collection.Add(new Layer("Layer1"));
    See Also