The API2PDF blog

Tutorials

Step-by-step guides for generating PDFs, images and documents with API2PDF in Python, PHP, Node, C#, Java, Go, Ruby and more.

Node / Javascript – Generate thumbnail image of PDF or Office file

Create an image preview of a PDF, Word, Excel or PowerPoint file from Node.js with the /libreoffice/thumbnail endpoint. Sample ...

Add Bookmarks to PDF with C# / .NET Core

Add a navigable bookmark outline to an existing PDF from .NET Core with the PdfSharp bookmarks endpoint. Sample C# code included.

C# / .NET tutorial – Take a screenshot of a website

Convert any URL to a PNG screenshot from C# and .NET Core with Headless Chrome through the Api2Pdf REST API. Sample code included.

C# / .NET Core – Generate thumbnail image of PDF or Office file

Create an image preview of a PDF, Word, Excel or PowerPoint file from .NET Core with the /libreoffice/thumbnail endpoint. Sampl...

Convert HTML to Image with C# / .NET Core

Render HTML to a PNG or JPEG image from .NET Core with Headless Chrome through the Api2Pdf REST API. A few lines of C# and no b...

Convert HTML to PDF with javascript and AngularJS

Generate PDFs from an AngularJS app with Headless Chrome or wkhtmltopdf through the Api2Pdf REST API. Sample controller code in...

Convert HTML to PDF with javascript and VueJs

Convert HTML to PDF from a Vue.js application with Headless Chrome or wkhtmltopdf by calling the Api2Pdf REST API. Sample compo...

Multi-lingual support for HTML to PDF (wkhtmltopdf / Headless Chrome)

Generate PDFs in any language with wkhtmltopdf or Headless Chrome: UTF-8, right-to-left text and the fonts that cover CJK, Arab...

Generate Barcodes and QR codes with Javascript and jQuery (ZXING)

Generate QR codes and barcodes from client-side JavaScript or jQuery by calling the ZXING endpoint. Formats, sample code and an...

Render Google Map to PDF with Headless Chrome

Google Maps prints blank because Chrome prints before the map loads. Use the delay option (or a waitFor) so the map tiles rende...

Generate PDF with Python Flask or Django

Add PDF generation to a Flask or Django app with the api2pdf Python package: render your template to HTML, convert it with Head...

Convert HTML to PDF with Javascript and React

A sample React component that converts HTML to PDF with Headless Chrome or wkhtmltopdf by calling the Api2Pdf REST API from the...

HTML to PDF with Python and wkhtmltopdf or Headless Chrome

Convert HTML and URLs to PDF from Python with the api2pdf package. Choose wkhtmltopdf or Headless Chrome, pass options, and dow...

Page 4 of 6 · 71 posts

Generate your first PDF in minutes

Create an account, grab an API key, and send one POST request. Pay only for what you use.