Hi Community,
I am working on a Power Automate cloud flow where I need to generate a PDF from an HTML file. However, I require the output PDF to be in Landscape mode rather than the default Portrait mode. Currently, I am using the "OneDrive for Business – Convert File" to generate the PDF, but I can't find an option to explicitly set the orientation to Landscape.
Below are the steps I'm following:
- Creating the HTML dynamically in the flow.
- Converting the HTML to PDF using the available actions.
The PDF is generated successfully, but it always defaults to Portrait orientation.
Could someone guide me on how to ensure the PDF is generated in Landscape mode? Is there a way to specify the page orientation while converting HTML to PDF?
Any help or pointers would be greatly appreciated!
Thanks in advance!

Report
All responses (
Answers (