Generator for Java
   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.

   Hello World

This example shows how to generate a simple PDF document.

   Contact List

This example shows how to generate a report with grouping.

   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.

   TIFF to PDF

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

   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.

   Calendar

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

   All Page Elements

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

   Charting

This example shows how to create charts.

   US Envelope Addresser

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

   Formatted Text Continuation

This example shows how to use the text overflow functionality.

   Hello World - RC4 128 Bit Encrypted

This example shows how to generate a PDF document with RC4 128 bit encryption. User password is "user" and owner password is "owner".

   Hello World - AES 256 Bit Encrypted

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

Note: To run this example, you may need to install the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files". You will need to replace the policy JAR files located in the lib/security directory of your JRE with the unlimited strength jurisdiction policy files.

   Tagged Pdf With Structure Elements

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

   Hello World - Tagged PDF

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

   Image With Alt Text

This example shows how to add Alternate Text for images.

   Time Machine Tagged Pdf

This example shows how to tag PDF documents.

   HTML Area Tags

This example adds all the html tags using the HtmlArea to the PDF document.

   HTML Area Tags and Styles

This example adds all the html tags and styles using the HtmlArea to the PDF document.

   Merger for Java
   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.

   Form Flattening

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

   Field Level Flattening

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

   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.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 22 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!