Some test text!

Search
Hamburger Icon

Web / Guides / Samples

Code samples to create / generate PDFs using JavaScript

Full API is mainly used for PDF processing situations that are not featured using the Standard API. The preferred recommendation is to use the Standard API to address your situation when possible. Standard API is easy to use, loaded by default, and performs best for most situations.

Merge, copy, delete, and rearrange PDF pages
The sample illustrates how to copy pages from one document to another, how to delete, and rearrange pages and how to use ImportPages() method for very efficient copy and merge operations.

Build, write, embed elements in PDF pages
Illustrates how to use PDFNet page writing API, how to embed fonts and images and how to copy graphical elements from one page to another.

Search & replace PDF text or images
This sample shows how to use pdftron.PDF.ContentReplacer to search and replace text strings and images in existing PDF (e.g. business cards and other PDF templates)

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales