DocumentLayout Class | ParameterDictionary Class | Programming with ReportWriter for .NET

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. Create a DocumentLayout class from a DPLX file.
  2. Call the Run method to return a Document object that contains the reports data.
  3. Output the document to a file, Stream, byte array, or directly to IIS’s 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 form 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.

See Also 

DocumentLayout Class | ParameterDictionary Class | Programming with ReportWriter for .NET