[Ultimate PDF] Combine Portrait with Landscape

Forge Component
(15)
Published on 14 Sep (2 weeks ago) by Leonardo Fernandes
15 votes
Published on 14 Sep (2 weeks ago) by Leonardo Fernandes

Hi,

I'm facing some issues trying to generate a PDF with both orientations. 

Example: First Page is Portrait and the second is Landscape.

It's are only considering the first orientation that i have chosen for all the document.


Can you have some idea how to overcome this limitation/issue?  


Thanks,


Marco Rodrigues

Hi Marco. This is currently not possible with this component.

However you could generate two PDFs, and use a third-party service or a library to concatenate them. Ultimate PDF uses PDFsharp for some use cases, and this free library has the capability to concatenate PDF files: http://www.pdfsharp.net/wiki/ConcatenateDocuments-sample.ashx