Hello,

I get an "Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException: Cannot reference this object. It doesn't
have an object number"

Is there somehting wrong with using "addLink"?

<pre>
PDFDocumentGraphics2D   pdf2D;
AffineTransform Tx = new AffineTransform( 1, 0, 0, 1, 0, 0);

Rectangle2D  rect = new Rectangle2D.Double ();
rect.setRect (20., 20., 100., 50.);              
                         
// 0 --> other files
// 1 --> another pos in same file
// 2 --> URL 
pdf2D.addLink(rect, Tx, "[/XYZ 0 0 null]", 1);
</pre>

Thank you
Tim
-- 
View this message in context: 
http://www.nabble.com/Making-Links-in-PDF-tp21994320p21994320.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to