Class ReportReader
Class used to read report template from a file (or stream) saved in xml format
Assembly: Reportman.Reporting.dll
Syntax
public class ReportReader
Constructors
ReportReader(BaseReport)
Create the report reader instance, you must supply the report where the
template will be loaded
Declaration
public ReportReader(BaseReport rp)
Parameters
Methods
ConvertToDotNet(Report, DriverType, string)
Converts not dot net report to a dot net report
Declaration
public static void ConvertToDotNet(Report rp, DriverType driver, string provider_factory)
Parameters
LoadFromFile(string)
Load a report template from a file with xml report template format
Declaration
public void LoadFromFile(string afilename)
Parameters
| Type |
Name |
Description |
| string |
afilename |
|
LoadFromStream(Stream)
Load a report template from a stream with xml report template format
Declaration
public void LoadFromStream(Stream astream)
Parameters
| Type |
Name |
Description |
| Stream |
astream |
|
LoadFromStream(Stream, int)
Load a report template from a stream with xml report template format
Declaration
public void LoadFromStream(Stream astream, int bufsize)
Parameters
| Type |
Name |
Description |
| Stream |
astream |
|
| int |
bufsize |
|
ReadFromString(string)
Declaration
public List<PrintPosItem> ReadFromString(string contents)
Parameters
| Type |
Name |
Description |
| string |
contents |
|
Returns