How do I configure document orientation with the HTML to PDF step? (Landscape / Portrait)
I’m using an HTML to PDF step in my flow, and my HTML code is set to landscape orientation, but the PDF is being created in portrait.
How can I configure the document orientation with the HTML to PDF step?
Comments
-
The HTML to PDF step doesn’t use the orientation specified in the HTML code. By default, the page orientation is set to portrait (8.89 × 13.00 in.).
To change the orientation of the document, you can set the page dimensions of the PDF manually:
1- Click on the HTML to PDF step, go to the properties > ‘Configuration’, then select ‘Set Page Dimensions’
2- Scroll down to ‘Inputs’ and enter the desired page height and width for the PDF
3- Run the flow and your PDF will be displayed with the chosen dimensions
For more information on the HTML to PDF step please see the below documentation:
https://documentation.decisions.com/step-library/docs/html-to-pdf
Howdy, Stranger!
Categories
- 4.4K All Categories
- 80 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions