Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > PDF API

About PDF API

Scroll Prev Next More

 

PDF API is used for manipulating PDF files. You can use this API in any JavaScript event.

 

You can apply it in the following cases:
 

Creating a PDF, asking for user's email, emailing the PDF file to that email address;

Saving a PDF on the hard drive under the name requested from the user;

Creating a PDF and saving it in the database;

Emailing selected records as separate PDF files.

Methods

Method

Description

Runner.PDF.open

Creates and opens a PDF file.

Runner.PDF.download

Downloads a PDF file.

AJAX helper object: ajax.addPDF

Creates a PDF file and sends it to the server.

Examples:

How to create a PDF and save it to the disk

How to save the View page as PDF from the List page

How to email the current page as PDF

How to email selected records as separate PDF files

How to create PDF from all selected records except the first one

See also:

PDF Parameters

PDF view settings

Events: JavaScript OnLoad

About JavaScript API

Generate PDF files using NodeJS and PDFMake