> -----Original Message----- > From: Sven Henckel [SMTP:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 13:25 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Add an Annotation to a PDF document? > > Hi all, > > how is it possible to add an annotation to an existing document? > I know that it's not possible to simply add it, but to open an exisiting > PDF > document, write its whole content in a new file and add an annotation to > it. > In the near future it may be possible to add annotations and fields to PdfStamper but not at the moment.
> I would like to have a fully filled (with red) rectangle in the center of > the first page of this PDF document. In this rectangle the annotation > should > be displayed (already popped up when opening the PDF). > > I have no idea how to realize this and hope that someone can help me. > Create a new document and import the pages, one by one. After importing the first page place the rectangle (PdfContentByte.rectangle()) and the annotation (PdfAnnotation and PdfWriter.addAnnotation()). Best Regards, Paulo Soares > Any code will be appreciated! > > Thanks a lot! > > Best regards > Sven > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions