Creates a new instance of the C1PrintDocument class representing the specified C1Report.

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

Syntax

C#
public static C1PrintDocument FromC1Report(
	string fileName,
	string reportName
)
Visual Basic
Public Shared Function FromC1Report ( _
	fileName As String, _
	reportName As String _
) As C1PrintDocument

Parameters

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

Return Value

The C1PrintDocument that was created.

See Also