Free Support Forum - aspose.com

Converting portrait pdf into landscape using aspose

I have a incoming byte array format data which needs to be converted into pdf.

The prob is it is in portrait format i need to convert tht into landscape format.
can it be done using aspose.pdf?

Hello Kabilan,

Thanks for your interest in our products.

In order to set the Orientation of resultant PDF to Landscape, please try using following code line. In case you encounter any problem or you have any further query, please feel free to contact.

Pdf.IsLandscape = true;