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

Free Support Forum - aspose.com

Making image out of a range of aspose cells

currently, when we generate an image from an excel spreadsheet, it requires us to use sheetrender and we get the "whole page" printed to the image whether or not there are rows to fit the whold page.

We would like to be able to select a range and generate that range to an image. Other productions have this functionality, but we are currently using Aspose and really don't want to move to another product just for this functionality.

Is there anyway to copy a range of cells to an image without having a bunch of white space for the rest of the page?




I think you may try to specify your desired printable area of cells range before taking the image. Also, you may try to set some page setup margins to remove the white space around the image. For complete reference, see the document:

thank you.