Creates a new instance of a type derived from C1RdlReportBase that supports the RDL format contained in the specified file. The specific type is determined by the version of the RDL in the file.

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

Syntax

C#
public static C1RdlReportBase FromFile(
	string fileName
)
Visual Basic
Public Shared Function FromFile ( _
	fileName As String _
) As C1RdlReportBase

Parameters

fileName
Type: System..::..String
The file name from which to load the report.

Return Value

The report component that was created.

See Also