Product · .NET · open source
A .NET library for building print reports graphically, with a visual designer. Distributed under the BSD licence.
ReportPrintingFramework is a library for .NET 2.0 or later, for building print reports graphically and quickly. It extends the base printing library written by Mike Mayer in 2003.
To work correctly it needs a modified version of the ReportPrinting printing library, which I distribute together with the framework.
I have used ReportPrinting on several jobs and came to appreciate its flexibility and lightness, in the sense of dependencies and additional libraries — particularly when compared with CrystalReports, which certainly has a great many more features, but useless ones in many cases.
The main limitation was that reports had to be built programmatically, calling methods and properties of the library. So the idea came of a framework able to load a report from an XML file — easy to edit — and build the report from that. The next step was a minimal visual designer for creating the report files.
You can read the detailed article published on CodeProject.
No particular procedure is required: simply add a reference to
ReportPrintingFramework.dll and ReportPrinting.dll
in your application.
To print a report:
ReportPrintingFramework.RPFReportMaker objectReportPrinting.ReportDocument objectreport_maker.Load(filename)report_maker to the ReportMaker propertyTo use the designer:
ReportPrintingFramework.RPFDesignerControl objectLoadDocument(filename)SaveDocument()For further details, refer to the source code of ReportPrintingFrameworkDemo.
The base printing library ReportPrinting is by Mike Mayer. This framework extends it and distributes a modified version of it, as its licence allows.