Class ImportBase
Base class for all import plugins.
Inheritance
System.Object
ImportBase
Namespace: FastReport.Import
Assembly: FastReport.Base.dll
Syntax
public class ImportBase
Constructors
ImportBase()
Initializes a new instance of the ImportBase class with default settings.
Declaration
public ImportBase()
Properties
Name
Gets or sets the name of plugin.
Declaration
public string Name { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Report
Gets or sets reference to the report.
Declaration
public Report Report { get; protected set; }
Property Value
Type | Description |
---|---|
Report |
Methods
LoadReport(Report, Stream)
Loads the specified file into specified report from stream.
Declaration
public virtual void LoadReport(Report report, Stream content)
Parameters
Type | Name | Description |
---|---|---|
Report | report | Report object |
System.IO.Stream | content | File stream |
LoadReport(Report, String)
Loads the specified file into specified report.
Declaration
public virtual void LoadReport(Report report, string filename)
Parameters
Type | Name | Description |
---|---|---|
Report | report | Report object. |
System.String | filename | File name. |