Export Worksheet or Chart into Image with Desired Width and Height
Contents
[
Hide
]
You can use Aspose.Cells to export your worksheet or chart into an image with the desired width and height. It provides ImageOrPrintOptions.setDesiredSize() method to set the desired width and height of the exported image. The width and height are specified in the unit of pixels.
Export Worksheet into Image with Desired Width and Height
The following code exports the worksheet into an image with 400x400 size.