Jason wrote: > I am trying to create an PDF with several SVG images. Is there a way to > individually position each image in the PDF (i.e. position image via x,y > coordinates)?
Write the SVG to a PdfTemplate object using Apache Batik as described in the book 'iText in Action'. Once you have a PdfTemplate, wrap it inside an Image object. You could add the PdfTemplate at specific coordinates with PdfContentByte, but it's easier (more convenient) when you wrap it inside an Image (you can use setAbsolutePosition). br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
