38
Views
1
Comments
[Ultimate PDF] Combine Portrait with Landscape
Question
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021

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

mvp_badge
MVP
Rank: #5

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