Cells to PNG sizing

Hi

I want to convert excel to png and set size of png file based on some calculations. How do i get page size in points and how do i set size of final image?

@hardeep17,

Thanks for your query.

Aspose.Cells does support Sheet to image feature that you may try:

Also, you may try to use SheetRender.GetPageSize to get the size of output page. Moreover, ImageOrPrintOptions.SetDesiredSize(int width, int height) to set your desired output image size for your needs.

Hope, this helps a bit.