Change page orientation in PDF using HTMLToPDF
I am creating a PDF though custom HTML that I am passing into the activity HTMLToPDF.
I need to change the orientation of a page in the PDF. I want this orientation change to be attached to a specific table. So whatever page that table is on I want to be in landscape.
I have tried to input PD4ML code such as:
<pd4ml:page.break pageFormat="rotate" />
or
<pd4ml:transform pageOrientation="landscape">
</pd4ml:transform>
But I cannot get this to do anything.
How can these PD4ML tags actually be used in HTML in pega?
***Edited by Moderator Marije to add Capability tags***