Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / 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 DataSource and 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