Skip to main content

ReportWriter Overview

Version: 7.0

DynamicPDF ReportWriter For .NET Overview

DynamicPDF ReportWriter Namespaces​

The DynamicPDF ReportWriter for .NET utilizes the below namespaces. ReportWriter is offered in two editions: Professional or Enterprise. Please note that certain namespaces or some classes within certain namespaces are not included with every edition of ReportWriter. For a complete list of features included with each edition please refer to our Feature Chart.

Programming​

Creating real-time PDF reports with DynamicPDF ReportWriter for .NET is simple and straight forward. DynamicPDF Designer makes it easy to visually create DPLX files (report templates) for use with DynamicPDF ReportWriter for .NET. The main class that is used is the DocumentLayout class. It loads DPLX files and creates PDF reports based on them. Here is a basic flow of how to create a report:

  1. In Designer, create a report template (a DPLX file) and save it.
  2. In your code, create a DocumentLayout class from that DPLX file.
  3. Call the Run method to return a Document object that contains the reports data.
  4. Output the document to a file, Stream, byte array, or directly to IISs output stream.

If parameters (such as an OrderID or UserID etc.) need to be passed to a report, this can be done using a ParameterDictionary object. See the Report Parameters topic for more details.

The object returned from the DocumentLayout.Run method is a Document object from DynamicPDF Generator for .NET. Because of this, it is easy to use any of the features of DynamicPDF Generator for .NET features with your reports. See the DynamicPDF Generator for .NET topics for more information.

For more information on using the DLEX files proceed to the DLEX Files topic.