Awesome! Thanks Nick for the quick and correct reply!

Regards,

Kees.

-----Oorspronkelijk bericht-----
Van: Nick Burch [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 16 juli 2008 15:44
Aan: POI Users List
Onderwerp: Re: Trying to put multiple images on one excel sheet

On Wed, 16 Jul 2008, Kees van Bemmel wrote:
> Could anyone please take a look at the code below and tell me why only 1 
> picture gets added to the sheet? The picture added is the last one that 
> needs to be added, the rest is just gone (or was never added in the 
> first place).

You're re-creating the drawing patriach each time, which zaps and 
previously existing images. Only create your drawing patriach once, and 
re-use it for adding all the images

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]

Reply via email to