Hello,
I am using the aspose-cells version 25.6. Below is the code I am using,
ImageOrPrintOptions printOption = new ImageOrPrintOptions();
printOption.setPrintingPage(PrintingPageType.DEFAULT);
cas = curSheet.getPri…...printable area cannot contain all rows/columns, Excel (and consequently...setFitToPagesTall(1); // all rows on one page // optionally adjust...