DynamicPDF Generator Overview
DynamicPDF Generator for .NET is a highly efficient and easy to use class library for the dynamic creation of PDF documents based on dynamic data. PDF documents can be saved to disk, output to a System.IO.Stream object or output directly to IIS's output stream. The assembly is written in C# and is accessible from any .NET language including C# and VB.NET. The generated PDF documents are 100% compatible with PDF version 1.3 thru 1.7 (ISO 32000-1) and comply with the PDF specification as published by Adobe.
DynamicPDF Generator Namespaces
The DynamicPDF Generator for .NET utilizes the below namespaces. Generator 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 Generator. For a complete list of features included with each edition please refer to our Feature Chart.
Using DynamicPDF Generator for .NET is very straight forward and the object model can be learned very quickly. There are three common objects that are used: Document, Page, and Page Element objects. The Document object represents a PDF document. The Page object represents a page in the PDF document. The Page Element objects represent elements, such as text or graphics, that can be placed on a page. The program flow for generating a basic PDF document is outlined below:
- Create a Document object.
- Create a Page object.
- Create and add Page Element objects to the page.
- Add the Page object to the document.
- Go back to step 2 and repeat until all pages are created.
- Output the PDF document to a file, Stream object or to IIS's output stream.
Many useful page element classes are included with the product and can be found in the ceTe.DynamicPDF.PageElements and ceTe.DynamicPDF.PageElements.BarCoding namespaces. Custom Page Elements can be created by inheriting from the PageElement base class. This is discussed in the Custom Page Elements topic.
Page Elements can be reused on different pages using templates. For more information on templates see the Templates topic. There is also a Group object that can be used to logically group Page Elements together for reuse on multiple pages.