Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / C1RdlReportBase Class / FromFile Method / FromFile(String) Method
The file name from which to load the report.

In This Topic
    FromFile(String) Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromFile( _
       ByVal fileName As String _
    ) As C1RdlReportBase
    public static C1RdlReportBase FromFile( 
       string fileName
    )

    Parameters

    fileName
    The file name from which to load the report.

    Return Value

    The report component that was created.
    See Also