Paulo Soares
Tue, 02 Sep 2008 09:48:25 -0700
Works for me. Check that you have the option to print the annotations in the print dialog. Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [EMAIL PROTECTED] On > Behalf Of BorisTheCat > Sent: Tuesday, September 02, 2008 4:16 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Annotation does not print > > > Even though i am using PdfAnnotation.FLAGS_PRINT, the > annotation does not > appear on the printout even though it does appear in the PDF. > > Here's the code snippet: > PdfAnnotation popup = PdfAnnotation.createText(writer, > getRectangle(), > null, > > text.getText(), false, > "TextNote"); > popup.setFlags(PdfAnnotation.FLAGS_PRINT); > writer.addAnnotation(popup); Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php