Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.27 KB

Readme.md

File metadata and controls

37 lines (23 loc) · 1.27 KB

Apryse SDK Samples

This repository contains more advanced samples using the @pdftron/pdfnet-node SDK.

Summary

Setup

Make sure to insert your license key into the license-key.json file before running any samples.

Conversions

The Apryse SDK offers a comprehensive set of conversions capabilities.

  • HTML to PDF

    Apryse SDK offers the ability to convert HTML to PDF with high fidelity and accuracy using our HTML2PDF module. The sample covers the following:

    • Header and Footer templating as listed on the chromium docs
    • Replacing placeholders with updated page numbers to generate a dynamic Table of Contents

    Sample output of the script

    Blank Table of Contents Updated Table of Contents


    To run this sample use the following command

    node .\src\samples\conversions\html-to-pdf\index.js

    The output file can be located at .\src\files\output\html-to-pdf.pdf