Renders the report into a file.

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

Syntax

C#
public void RenderToFile(
	string fileName,
	FileFormatEnum fmt
)
Visual Basic
Public Sub RenderToFile ( _
	fileName As String, _
	fmt As FileFormatEnum _
)

Parameters

fileName
Type: System..::..String
Name of the file that will contain the report.
fmt
Type: C1.C1Report..::..FileFormatEnum
Type of file to create.

Remarks

This method causes the control to render the current report into a file. It is especially useful in server applications that create several reports in batch mode, and don't have a user interface.

See Also