We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

ISheetRender - page orientation

Hi,

I’m trying to save all pages of a IWorksheet into a single image using ISheetRender, which works. The problem is that I fail to see how I can get the proper page orientation of the images, and thus have
to put one image under another and so forth. This renders a result that doesn’t look good for wide Excel sheets. Is there a way to solve this issue?

@patjep,
Thank you for your query.
Please share your runnable console application (without any missing reference), template Excel file, output images and expected output generated by some third party tool. We will reproduce the issue here and provide assistance accordingly.

I found that setting IImageOrPrintOptions::SetOnePagePerSheet() to true solved my issue. Thanks!

@patjep,

Good to know that you have sorted out the issue by using the SetOnePagePerSheet function. And, yes, the function renders one page per whole worksheet.