ComponentOne Reports for WPF
C1.C1Report Namespace / C1Report Class / Clear() Method

In This Topic
    Clear() Method
    In This Topic
    Clears the current report.
    Syntax
    'Declaration
     
    Public Sub Clear() 
    public void Clear()
    Remarks

    This method removes all groups, group sections, and fields from the current report.

    It also resets the C1Report.DataSource and C1Report.Layout objects, and clears (but does not remove) the fixed sections that all reports have: Detail, Header, Footer, PageHeader, and PageFooter.

    Use this method when you want to clear a report and start creating a new one from scratch.

    See Also