Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromC1Report Method
The name of the file containing the report definition.
The name of the report in fileName.

In This Topic
    FromC1Report Method
    In This Topic
    Creates a new instance of the C1PrintDocument class representing the specified C1.C1Report.C1Report.
    Syntax
    'Declaration
     
    Public Shared Function FromC1Report( _
       ByVal fileName As String, _
       ByVal reportName As String _
    ) As C1PrintDocument
    public static C1PrintDocument FromC1Report( 
       string fileName,
       string reportName
    )

    Parameters

    fileName
    The name of the file containing the report definition.
    reportName
    The name of the report in fileName.

    Return Value

    The C1PrintDocument that was created.
    See Also