ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / PageReport Class / Load Method / Load(FileInfo) Method
The report definition (*.rdlx) file to load.
Example

In This Topic
    Load(FileInfo) Method
    In This Topic
    Loads the report definition file.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal reportDefinitionFile As FileInfo _
    ) 
    public void Load( 
       FileInfo reportDefinitionFile
    )

    Parameters

    reportDefinitionFile
    The report definition (*.rdlx) file to load.
    Exceptions
    ExceptionDescription
    Thrown if the report definition cannot be loaded.
    Thrown if the specified file does not appear to be a properly formatted RDLX file, or if the report definition has the wrong xmlns specified.
    Example
    PageReport pr = new PageReport();
    FileInfo fInfo = new FileInfo("AnnualReport.rdlx");
    pr.Load(fInfo);
    See Also