Hi,
I've done this already, you can try this : Just
change some of the parameters accordingly.
com.lowagie.text.Image gif =
com.lowagie.text.Image.getInstance(new
java.net.URL(url)); // get Image
gif.setAlignment(com.lowagie.text.Image.RIGHT |
com.lowagie.text.Image.UNDERLYING);
gif.scaleToFit(50F,40F);
gif.setAbsolutePosition(500F,770F);
document.add(gif);
Regards,
Eric
--- jose antonio Toribio <[EMAIL PROTECTED]> wrote:
> Hi, i'm working with JFreeChart and iText and i need
> add a Graphics2D Object to
>
> a pdf document. I have created a template, as is
> said in manual, but the
>
> graphics appears at bottom of the page and i want to
> put in the relative
>
> position of the page. The sentence
> "cb.addTemplate(tp, 0, 0); " is to put in a
>
> global position but i don't know what is that. How
> can i do this?
>
>
>
> thanks in advance.
>
>
>
>
-------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and
> Integration
> See the breadth of Eclipse activity. February 3-5 in
> Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions