Generator for COM/ActiveX
   Invoice

In this example, a PDF invoice is generated on the fly using several different page elements (Label, Image, TextArea, Rectangle, Line, Barcode etc.). Template class is used to add data (company logo, address etc.) that is common to all pages and page numbers are added using PageNumberingLabel element.

   Mailing Labels

In this example, TextArea page element is used to create Avery 5160 labels with data retrieved from a database. This is a good example that illustrates how to use the DynamicPDF API to place text at a desired location on the PDF page.

   Hello World Languages

This example demonstrates the font capabilities of DynamicPDF API. Several different fonts are used to add text to the PDF in various languages. In order to view the PDF generated by this example Acrobat Asian Font Pack is required.

   Simple PDF Report

In this example, a basic PDF report that displays a list of products is generated with data retrieved from Northwind database. Template class is used to add the report header on all pages and Rectangle and Label page elements are used to add the products details.

   Digital Signatures

Digitally signed PDFs can be easily generated with a few lines of code. In this example a Signature field is added to the PDF and the digital signature is applied using a Personal Information Exchange (.pfx) file.

   All Page Elements

This example shows how to use all 50 of the page elements that are available with Generator for COM/ActiveX. It also demonstrates how to build a custom page element.

   Calendar

This example shows how to use a table to create a calendar.

   Charting

This example shows how to create charts.

   Contact List

This example shows how to generate a report with grouping.

   Formatted Text Continuation

This example shows how to use the text overflow functionality.

   Hello World

This simple example shows how to generate a PDF document. As simple as it gets.

   Hello World - Aes 256 Bit Encrypted

This example shows how to generate a PDF document with 256 bit encryption. Owner password is "password". This example requires Acrobat 10.0 or compatible PDF viewer.

   Hello World - RC4 128 Bit Encrypted

This example shows how to generate a PDF document with 128 bit encryption. User password is "user" and owner password is "owner". This example requires Acrobat 5.0 or compatible PDF viewer.

   Hello World - Tagged PDF

This example shows how to generate a PDF document with tagging.

   Tagged Pdf With Structure Elements

This example shows how to tag PDF documents that use lists and structured elements.

   All Page Elements

This example shows how to create charts.

   Time Machine Tagged Pdf

This example shows how to tag PDF documents.

   Image With Alt Text

This example shows how to add Alternate Text for images.

   Simple XML Report

This example shows how to generate a simple report from XML data.

   Table Report

This example shows how to generate a report using the Table Page Element.

   TIFF to PDF

This example shows how convert a multi page TIFF to PDF.

   Time Machine

This example shows how to generate a manuscript. This is a good example of how to use the overflow text methods to flow text to multiple pages.

   US Envelope Addresser

This example shows how to address an envelop and use the Postnet bar code.

   Merger for COM/ActiveX
   PDF Form Filling

An Acro PDF form can be opened and form fields collection can be easily accessed and filled. In this example, input to an HTML form is used to fill the PDF form fields on the server and the resulting PDF is streamed back to the browser.

   Invoice with PDF Template

This example demonstrates how to use an existing PDF document as a template to generate an invoice. Data is retrieved from the Northwind database and is placed on top of the existing PDF using Label and TextArea page elements.

   Import, Rotate and Place PDF Pages

In this example, ImportedPageArea class is used to import multiple pages from an existing PDF. The pages are then rotated and placed on a single page and saved as a separate PDF.

   Text Extraction

Extracting text from an existing PDF can be easily done using the PdfDocument class. Read in the PDF using the PdfDocument class and call GetText() method to extract text content from the PDF as shown in this example.

   Merge PDFs

Shows how to merge multple PDF documents into one.

   Select Pages

Shows how to merge pages from different PDF documents into one and add a cover page.

   Place Page Elements

Shows how to load an existing PDF document and place Page Elements on the pages from it.

   Stamp PDF

Shows how to add a watermark to an existing PDF document.

   Acro Form Reader

Shows how to read the Acro Form fields of an existing PDF document.

   Form Flattening

Shows how to flatten the Acro Form fields of an existing PDF document.

   Field Level Flattening

Shows how to flatten individual Acro Form fields on an existing PDF document.

   ReportWriter for COM/ActiveX
ReportWriter generates PDFs on the fly based on a dplx template that can be created using DynamicPDF Designer tool that is provided with the product.Examples listed below use different dplx templates to demonstrate various features.

   Simple Report

This example uses a template that has a datasource and a select query specified to retrieve a list of products dynamically from Northwind database. Dplx template also supports retrieving data using a stored procedure in place of the select query.

   Sales By Region

In this example the dplx template uses a sub-report element to display sales for different regions. Select query on the main report retrieves a list of regions and the sub-report select query takes the region name as a parameter to display region sales in a separate table.

   Invoice

This example shows how to generate invoices with bar codes.

   Invoice using Templates

This example shows how to generate invoices with bar codes using templates.

   Contact List

This example shows how to generate a report with grouping.

   Simple Report using Stored Procedure

This simple example shows how to generate a PDF report using a stored procedure.

   Comprehensive Report

Shows how to create mutliple reports within the same DPLX file.

   Monthly Sales Report

Shows how to generate a report using fixed pages and showing monthly sales.

Customer Testimonials