For each image: tp = cb.createTemplate(150, 100); g2d = tp.createGraphics(150, 100, new DefaultFontMapper()); // fill the image here g2d.dispose(); // use the template
----- Original Message ----- From: "john wylie" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "'Leonard Rosenthol'" <[EMAIL PROTECTED]>; <[email protected]> Sent: Wednesday, November 09, 2005 10:41 PM Subject: Re: [iText-questions] iText with Adobe reader > I take it you mean > > Graphics2D.dispose() > > John > > On 9/11/05 22:15, "Paulo Soares" <[EMAIL PROTECTED]> wrote: > > > dispose() must be called before using the template. > > > > ----- Original Message ----- > > From: "John Wylie" <[EMAIL PROTECTED]> > > To: "'Leonard Rosenthol'" <[EMAIL PROTECTED]>; > > <[email protected]> > > Sent: Wednesday, November 09, 2005 7:18 PM > > Subject: RE: [iText-questions] iText with Adobe reader > > > > > >> Here you go (files attached) > >> > >> When scrolling up/down though document with adobe, it appears some > >> images/text don't render properly, but re-appear with more up/down > >> scrolling. > >> > >> > >> > >> -----Original Message----- > >> From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] > >> Sent: 09 November 2005 12:09 > >> To: John Wylie; [email protected] > >> Subject: Re: [iText-questions] iText with Adobe reader > >> > >> At 12:41 AM 11/9/2005, John Wylie wrote: > >>> I can send a sample pdf/source file on request. > >>> > >> > >> PLEASE DO! > >> > >> > >> Leonard > >> > >> ------------------------------------------------------------------------- - > > - > >> Leonard Rosenthol > > <mailto:[EMAIL PROTECTED]> > >> Chief Technical Officer <http://www.pdfsages.com> > >> PDF Sages, Inc. 215-938-7080 (voice) > >> 215-938-0880 (fax) > >> > >> > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
