Class MergeReport
Simple report to merge multiple reports to one. E.g. merge two or more SqlReports or KeyValueReports
Inheritance
System.Object
MergeReport
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Reporting
Assembly: Simplic.Reporting.dll
Syntax
public class MergeReport : IReport, IPrintable
Constructors
| Improve this Doc View SourceMergeReport()
Create merge report
Declaration
public MergeReport()
Properties
| Improve this Doc View SourceConfiguration
Gets the report configuration
Declaration
public IReportConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
IReportConfiguration |
Report
Not supported for mereged reports
Declaration
public Telerik.Reporting.Report Report { get; }
Property Value
Type | Description |
---|---|
Telerik.Reporting.Report |
ReportSource
Get the merged reports as single report source
Declaration
public ReportSource ReportSource { get; }
Property Value
Type | Description |
---|---|
ReportSource |
Methods
| Improve this Doc View SourceFill<T>(T)
Add a single report to the list of reports to merge
Declaration
public void Fill<T>(T obj)
Parameters
Type | Name | Description |
---|---|---|
T | obj | Report instance |
Type Parameters
Name | Description |
---|---|
T | Instance of IReport implementation |
Fill<T>(IList<T>)
Add a list of reports to the merge-list
Declaration
public void Fill<T>(IList<T> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<T> | list | List isntance with reports |
Type Parameters
Name | Description |
---|---|
T | Type must be a type of IReport |
Load(IReportConfiguration)
Not neded here
Declaration
public void Load(IReportConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
IReportConfiguration | configuration |
|
Print(PrinterDevice)
Print the current report
Declaration
public void Print(PrinterDevice device)
Parameters
Type | Name | Description |
---|---|---|
PrinterDevice | device | Device which should be used for printing |
RenderReport(ReportRenderFormat)
Merge all report and render one single report
Declaration
public Stream RenderReport(ReportRenderFormat format)
Parameters
Type | Name | Description |
---|---|---|
ReportRenderFormat | format | Format to render (e.g. PDF) |
Returns
Type | Description |
---|---|
System.IO.Stream | Instance of a stream containing the rendered report in the given format |