I'm using Aspose.Cells to generate an Excel file from scratch. Everything works great. Now I'm trying to convert the Excel file to PDF. Everything is working great, but I cannot get the PDF to render as landscape. I'm setting the values of the Excel sheet for the sheet that I'm having issues with.
sheet1.PageSetup.PaperSize = PaperSizeType.PaperLetter;
sheet1.PageSetup.Orientation = PageOrientationType.Landscape;
When I convert this over, it's always Portrait in the PDF...