convert excel chart to image using jexcel

957 views
Skip to first unread message

kuperman

unread,
Jun 24, 2012, 10:04:51 PM6/24/12
to JExcel Forum
is it possible to convert Excel column chart to image using jexcel?
if so, can you give me example how to do this?

thanks,
Ran

Sergei Piletsky

unread,
Jun 25, 2012, 10:42:20 AM6/25/12
to kuperman, JExcel Forum
Hi Ran,

JExcel library is designed in such way that you can get any functionality available in Excel API. The attached ExportChartToImage.java sample demonstrates how to export a chart object to image. This example is based on using the _Chart.Export method of Excel. If you need to copy picture to memory instead of a file, you can try ChartObject.CopyPicture method that allow copying chart image to the Clipboard.

Please let me know if you have any further questions.

Sincerely,
Serge



--
You are receiving this email because you have joined the "JExcel Forum" group or have been added by request. You may choose not to receive emails from this group or unsubscribe completely on "Edit my membership" page.
Go to http://links.teamdev.com/jexcel-forum, choose "Edit my membership" link on the right. Specify your email preferences in suggested options, or click "Unsubscribe" button.

ExportChartToImage.java

kuperman

unread,
Jun 26, 2012, 4:44:25 AM6/26/12
to JExcel Forum
Thank you Sergey!

I need a license to use these libraries?
Even if I'm not doing it for profit?

Thank you,
Ran

aash...@gmail.com

unread,
Aug 1, 2013, 11:40:44 PM8/1/13
to jexcel...@teamdev.com, kuperm...@gmail.com
You can use aspose for this. Here is a link where you found how to export excel into images.
 Aspose is paid if and only if you are using it for profit else its free.

Reply all
Reply to author
Forward
0 new messages