That was it. Thanks. I'm still not getting the desired result though. It seems using "note" and "comment" give you the same icon (the default annotation icon), and all of the others are not the yellow note bubble either.
Am I doing something wrong here? Is there anyway to use a image from disk? Thanks for all your help. --- Paulo Soares <[EMAIL PROTECTED]> wrote: > Are you calling writer.addAnnotation(annot)? > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: Mike Christoff [mailto:[EMAIL PROTECTED] > > Sent: Monday, June 07, 2004 10:31 PM > > To: Paulo Soares; [EMAIL PROTECTED] > > Subject: Re: [iText-questions] Annotations vs Notes > > > > I can't seem to get the annotation to appear on the page. This is > > what I'm doing: > > > > PdfAnnotation.createText(writer, new Rectangle(200, 200, 250, > 250), > > "title", "message", true, "Note"); > > > > Do I need to do anything else here? (Obviously I've created the > > writer before hand.) > > > > Basicaly I'm trying to replace the following line: > > > > document.add(new Annotation("title", "message", 200, 200, 250, > 250 > > )); > > > > Thanks. > > > > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > > It can be done with iText but only if creating the annotation > with > > > PdfAnnotation.createText(). In this case you can change the > icon to > > > one of: > > > Comment, Key, Note, Help, NewParagraph, Paragraph or Insert. > > > > > > Best Regards, > > > Paulo Soares > > > > > > ----- Original Message ----- > > > From: "Mike Christoff" <[EMAIL PROTECTED]> > > > To: "Leonard Rosenthol" <[EMAIL PROTECTED]>; > > > <[EMAIL PROTECTED]> > > > Sent: Friday, June 04, 2004 21:33 > > > Subject: Re: [iText-questions] Annotations vs Notes > > > > > > > > > > > The icon displayed in the PDF is actually > > > user-selectable. > > > > > If you > > > > > right/control-click on ANY comment/note/annotation and then > > > choose > > > > > "Properties" you can then pick from a selection of icons to > > > use. > > > > > > > > > > I believe that iText uses one that simulate the > > > "default" > > > > > Acrobat > > > > > value - but you can actually use ANY graphic... > > > > > > > > I would like to have the default icon be the yellow bubble. > Can I > > > do > > > > this through itext, or would I have to go through the pdf by > hand > > > and > > > > and change each of the icons? > > > > > > > > > Sure you can! There is a nice big button called > > > > > "Commenting" in > > > > > your Acrobat toolbar - at least in Standard and > Professional. > > > (not > > > > > in > > > > > Reader...) > > > > > > > > I realized this button was there, but what I was referring to > was > > > > what I thought was an annotation (now know this is just the > > > default > > > > icon for a comment). > > > > > > > > Thanks Again. > > > > > > > > --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > > > > > At 02:49 PM 6/4/2004, Mike Christoff wrote: > > > > > >I noticed that in Acrobat 6.0 (possibly earlier versions, > but > > > I > > > > > only > > > > > >have 6.0) that you can add something called a "note" > (looks > > > like a > > > > > >yellow thought bubble). > > > > > > > > > > Commenting and Annotating (same thing) have been > in > > > > > Acrobat since > > > > > version 4, though only with 5 & 6 have Adobe really pushed > it > > > as a > > > > > feature. The Note is just one of about 10 different types > of > > > > > annotations/comments that you can apply to a PDF. > > > > > > > > > > > > > > > >I looked through the itext api, but all I > > > > > >could find was something called an "annotation". These > seem to > > > do > > > > > >very similar things. In fact they seem almost identical, > > > except > > > > > that > > > > > >the icon for an annotation is a little white tab, whereas > the > > > icon > > > > > >for a note is the yellow bubble. > > > > > > > > > > The icon displayed in the PDF is actually > > > user-selectable. > > > > > If you > > > > > right/control-click on ANY comment/note/annotation and then > > > choose > > > > > "Properties" you can then pick from a selection of icons to > > > use. > > > > > > > > > > I believe that iText uses one that simulate the > > > "default" > > > > > Acrobat > > > > > value - but you can actually use ANY graphic... > > > > > > > > > > > > > > > >Also, I noticed that you can't actually create a > annotation > > > with > > > > > >Acrobat 6.0. > > > > > > > > > > Sure you can! There is a nice big button called > > > > > "Commenting" in > > > > > your Acrobat toolbar - at least in Standard and > Professional. > > > (not > > > > > in > > > > > Reader...) > > > > > > > > > > > > > > > Leonard > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > > ------------ > > > - > > > > > Leonard Rosenthol > > > > > <mailto:[EMAIL PROTECTED]> > > > > > Chief Technical Officer > > > > > <http://www.pdfsages.com> > > > > > PDF Sages, Inc. 215-938-7080 > > > (voice) > > > > > 215-938-0880 > > > (fax) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Friends. Fun. Try the all-new Yahoo! Messenger. > > > > http://messenger.yahoo.com/ > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by the new InstallShield X. > > > > From Windows to Linux, servers to mobile, InstallShield X is > the > > > one > > > > installation-authoring solution that does it all. Learn more > and > > > > evaluate today! http://www.installshield.com/Dev2Dev/0504 > > > > _______________________________________________ > > > > iText-questions mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Friends. Fun. Try the all-new Yahoo! Messenger. > > http://messenger.yahoo.com/ > > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
