ComponentOne FlexReport for WinForms
Clear Method (C1FlexReport)

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class : Clear Method
Clears the current report.
Syntax
'Declaration
 
Public Sub Clear() 
public void Clear()
Remarks
This method removes all groups, group sections, fields and parameters, it resets the DataSources collection so it will contain single DataSource object with name "Main". Resets properties of all nested objects like Layout, Watermark etc. 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

Reference

C1FlexReport Class
C1FlexReport Members