Copies a report definition from another C1Report component.

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

Syntax

C#
public void CopyFrom(
	C1Report sourceReport
)
Visual Basic
Public Sub CopyFrom ( _
	sourceReport As C1Report _
)

Parameters

sourceReport
Type: C1.C1Report..::..C1Report
C1Report that contains the report to be copied.

Remarks

This method is similar to copying the ReportDefinition property from one C1Report to another, but is substantially faster. Note that while this method clones the fields of the report, in only makes shallow copies of the fields' properties (so e.g. subreports are not cloned).

See Also