Hi,

I am trying to implement image maps in a PDF document, so that areas of
a graphic link to other points in a PDF document.

I am creating the graphics using Graphics2D to create a PDFTemplate (as
per tutorial chapter10).  I want to include the graphics inline, so I
then do:

  document.add(new ImgTemplate(myPDFTemplate));

This much works very well.  

My problem is in creating the link areas.  I can use
PDFTemplate.localGoto("name", llx, lly, urx, ury), but these
co-ordinates are relative to the page, not the template.  What I really
want to do is use co-ordinates relative to the lower left of the
template.

Is there a way around this?  I can't see how to transform the
co-ordinates myself, as I don't know the absolute position where the
ImgTemplate will be placed.

cheers,

Paul

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to