/mx-html2pdf

Primary LanguageJavaScript

Mendix Module - HTML2PDF

This module provides a JS Action that converts an HTML Container into a downloadable PDF.

Usage

  1. Create a Nanoflow

  2. Add the MakePDF Action

  3. Configure the Action:

    Target: The class of the container that should be converted into a PDF (must be unique!) Filename: The filename used for the downlaoded PDF Orientation: Landscape or Portrait Format: PDF (to create a pure pdf) or PNG/JPEG (to create an image)

Notes

  • The module uses jsPDF and HTML2Canvas
  • CSS Transforms are not supported in pure PDFs, use PNG or JPEG instead