Creates a new instance of the C1PrintDocument class, and imports a RDL report definition into created document.

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

Syntax

C#
[ObsoleteAttribute("Use C1RdlReport instead")]
public static C1PrintDocument FromRdl(
	string fileName
)
Visual Basic
<ObsoleteAttribute("Use C1RdlReport instead")> _
Public Shared Function FromRdl ( _
	fileName As String _
) As C1PrintDocument

Parameters

fileName
Type: System..::..String
The name of the file containing the report definition.

Return Value

The C1PrintDocument that was created.

See Also