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

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

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