PDF Builder enhancements

The new PDF Builder moves from the Beta stage in version 2022 to a proper GA release in 2022 R2. It now offers a full-set of objects and functions for generating and manipulating PDF documents with text, graphics, images, and interactive elements such as watermarks.

  1. The following are the features available with the PDF Builder:

    • Importing a PDF document into a new PDF document;

    • Importing data from DataWindow, DWChild, or DataStore;

    • Merging PDF documents;

    • Setting PDF document properties and security;

    • Adding multilinetext, singlelinetext, richtext, or image to create a fillable PDF document;

    • Compressing PDF documents;

    • Inserting single-page(s) to an existing PDF;

    • Creating links in a PDF document that points to other areas of the document (for example, adding a page number in the document that link to the relevant page);

    • Adding text or image watermark;

    • Attaching files to PDF

  2. The PDF Builder provides the following objects:

  3. These enumerated datatypes are specific to the PDF Builder:

    • PDFStandard, with these values: PDF_None!, PDFA_1a!, PDFA_1b!, PDFA_3a!, PDFA_3b!, PDFA_3u!

    • PDFPageSize, with these values: PDFPage_A1!, PDFPage_A2!, PDFPage_A3!, PDFPage_A4!, PDFPage_Letter!, and PDFPage_Legal!

    • PDFTextAlignment, with these values: PDFTextAlignLeft!, PDFTextAlignCenter!, PDFTextAlignRight!, and PDFTextAlignJustify!

    • PDFImageFitMethod, with these values: PDFImageFitmethod_Clip!, PDFImageFitmethod_Entire!, and PDFImageFitmethod_Meet!

    • PDFTableOfContentsStyle, with these values: PDFTableOfContentsStyle_Classic!, and PDFTableOfContentsStyle_Simple!

    • PDFDocInformation, with these values: PDFDocInfo_All!, PDFDocInfo_Properties!, PDFDocInfo_Security!

  4. The following runtime files are added for PDF Builder support: pdflib.dll, pbpdfbuilder.dll, NotoSans-Bold.ttf, NotoSans-Regular.ttf.

Each PDFDocument object stands for a PDF document.

The Example Sales App included in the product contains an example user case that creates PDF documents with the PDF Builder features. If you are interested, please run the application, open the Statistics window, and then select the Create PDF button in the RibbonBar.

For the latest documentation, please refer to the section called “Building PDF documents in the application” in Application Techniques.