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

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

    Parameters

    reportDefinitionReader
    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
    using (StreamReader sr = new StreamReader(path))
    {
    PageReport report = new PageReport();
    report.Load(sr);
    }
    See Also