Does Aspose.Cells support default horizontal printing?
I am afraid, we are not sure about requirements/issue. Could you elaborate it more. Also, provide an example and some screenshots to demonstrate your needs, we will check it soon.
The attachment contains my test code, a photo of the code executing the print file, a photo of the result I expect to print, and the source Excel
Thank you for helping me
TestPrint.zip (5.3 MB)
If you could open your Excel file and take the print preview of the sheet in Ms Excel manually, you will also find the same results as per the output by Aspose.Cells APIs. For your requirements, you may set the orientation of the worksheet(s) to Landscape before rendering or printing. See the sample lines of code:
//Obtaining the reference of the PageSetup of the worksheet
PageSetup pageSetup = workbook.Worksheets.PageSetup;
//Set the orientation to landscape
pageSetup.Orientation = PageOrientationType.Landscape;
//your code goes here.
Hope, this helps a bit.