htmlcode2pdf
Service icon

HTMLCode2PDF

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 7 Mar (3 days ago)
 by 
0.0
 (0 ratings)
htmlcode2pdf

HTMLCode2PDF

Documentation
1.0.0

Overview

This component provides the action GenerateHtmltoPDF, which is used to generate a PDF from HTML code.

Action Description


GenerateHtmltoPDF

This action converts provided HTML content into a PDF file with configurable options for headers, footers, margins, and pagination.

Input Parameter Description


ParameterDescription
HtmlCodeThe HTML text to be converted into a PDF.
Config.HeaderURLURL of the .html file to render as the header.
Config.FooterURLURL of the .html file to render as the footer.
Config.MarginTopOverrides the default top margin of the page.
Config.MarginBottomOverrides the default bottom margin of the page.
Config.MarginLeftOverrides the default left margin of the page.
Config.MarginRightOverrides the default right margin of the page.
Config.ShowPagenoEnables or disables pagination.


Generating Header and Footer HTML Files

To generate an HTML file for the header and footer, refer to the sample application.

Underlying Technology

This component is built using the Wkhtmltopdf plugin. For advanced configuration options, refer to the Wkhtmltopdf documentation.