Thanks for your prompt reply! Yes, the positioning can be achieved, but then as the documentation says, that any existing image would be erased with the new image. What I need is that corrsponding to every record (row) in the Excel sheet, I would need an image to be exported. But with the limitation that it would erase an existing image, wouldnt the existing images exported be erased? Say I export an image for record 1 and for record 2 the previous image would be erased and new image added? -Prachi
________________________________ From: Nick Burch [mailto:[EMAIL PROTECTED] Sent: Fri 12/10/2007 11:29 To: POI Users List Subject: Re: Export an image as PNG to a particular cell in Excel using POI. On Fri, 12 Oct 2007, [EMAIL PROTECTED] wrote: > I would like to know if we can export an image as PNG to a particular > cell in Excel using POI. I don't think you can actually put an image as the real contents of a cell (it's just not something the excel format supports). I think all you can do is add in an image, then position/size it to occupy the whole cell. Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
