Posted 20 June 2018, 5:24 am EST
Hi Team,
I need know is there any way to export my current spread sheet as image.
Forums Home / Spread / SpreadJS
Posted by: Arasudayan.Anand on 20 June 2018, 5:24 am EST
Posted 20 June 2018, 5:24 am EST
Hi Team,
I need know is there any way to export my current spread sheet as image.
Posted 21 June 2018, 8:37 am EST
Hello,
You can save Spread canvas as image. You can set the canvas as image source for image.
Let me know if you face any issues while doing so.
Thanks,
Deepak Sharma
Posted 21 June 2018, 12:02 pm EST
Can you please provide sample code.
I tried but I’m getting some JavaScript error.
Posted 22 June 2018, 6:09 am EST
Posted 22 June 2018, 11:48 pm EST
Thanks alot. I will check and comeback.
Posted 16 April 2019, 6:38 am EST
In this case, we will not be getting the complete canvas if the viewport is smaller than the sheet. Is there a way we get the complete sheet?
Posted 17 April 2019, 8:18 am EST
Hi,
For saving sheet as an image in full width/height, we need to first clone the current workbook and then set the height/width of the cloned workbook to display the full sheet and then save the cloned workbook to the image. Please refer to the attached sample demonstrating the same and let us know if you face any issues.
~Sharad
SpreadJSToImage_updated.zip