Clears the current report.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Clear()
Visual Basic
Public Sub 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