Let's take the Line annotation. The annotation parameters describe the line.
You'll have to create a PdfTemplate with the actual graphic representation of
the line using moveTo(), lineTo() and others.
Paulo
----- Original Message -----
From: Rob
To: [email protected]
Sent: Sunday, January 15, 2012 8:52 PM
Subject: Re: [iText-questions] createInk not displaying in PDF on UbuntuLinux
Paulo Soares-3 wrote
>
> It's missing the appearance (the /AP key). Create the annotation in
> Acrobat, look at the PDF generated and reproduce it with iText. I found
> out long ago that this is the only reliable way to have them work.
>
> Paulo
>
That's great news! I see that the AP key in test-resaved.pdf is /AP<</N 10 0
R>>
Looking at the available PdfAnnotation methods I can see that setAppearance
is available. How would one recreate the above AP key with this method?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/createInk-not-displaying-in-PDF-on-Ubuntu-Linux-tp4292565p4297713.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php