Thanks bruno for showing me the correct way. I have few queries 1) Why is the Line in your sample, shown when its clicked. Can't we have a way to show it always ? 2) When adding a stamp, can we add custom stamp images just like Adobe does ? 3) Can we change the status of a 'Note' or a 'line' annotations just like in Adobe 7.0 ? 4) Can we enumerate these all of these annotations i.e. stamp, line, file attachments etc from an existing PDF, if yes which function to call ? 5) Is in iText support for circle, rectangle (although can be done usng line), pencil, callOut ? 6) Can we delete these annotations from an existing PDF ?
Regards, Wahaj "bruno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wahaj Khan wrote: > > >Hi, > > > >I am trying to test different annotations provided in iText using iText154 > >but unable to find them in the resultant pdf (See the attachement on which I > >am performing tests). I have used the code present in a number of iText > >questions on the iText forum. I think I am making a big mistake some where, > >can some one pin point where I am wrong > > > Without looking at your code: 2 remarks. > 1. not all annotations are visible in older versions of Acrobat. > 2. maybe your expectations of what there is to see are wrong. > Please open this file in Acrobat Reader 7: > http://itextdocs.lowagie.com/tutorial/objects/anchors/Annotations.pdf > This file was generated with this code: > http://itextdocs.lowagie.com/examples/com/lowagie/examples/objects/anchors/Annotations.java > So on the first page, you should see: > Page 1: > 0. a pin that has a file attachment > 1. a square with very short movie I made (click to start) > 2. a square with an alert saying Hello if you click it > 3. a square with a question mark (hover over the mark) > 4. a square with a text balloon (hover over it) > Page 3: > 1. a square that does the same as page1 square 2. > 2. a square that lets you jumps to the top of the page > 3. a square that lets you jump to page 1 > 4. an invisible Circle that shows an annotation when you hover over it > (there is a text balloon that indicates the upper right corner of the > square that's around the circle) > Page 4: > 1. a square with free text > 2. a square with an invisible line, hover over it. > 3. a square with a stamp, hover over it > 4. a popup > I think you expect to see thing that just aren't there. > For instance the line: the annotation text appears when you > hover over it, but the line itself is invisible. > br, > Bruno > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
