Hi,

I put this question to the forum around 2 weeks back. I was wondering why
the annotation produced by this code isn't invisible on AR. I checked with
AR 9 on Windows and I can still see it. Could someone please tell me where I
might be going wrong?

===================================================================
PdfAnnotation pdfAnnotation =
PdfAnnotation.createText(stamper.getWriter(), new Rectangle(1, 1, 1, 1),
"Comment", pattern, false, null);

pdfAnnotation.put(PdfName.F, new
PdfNumber(PdfAnnotation.FLAGS_NOVIEW |
PdfAnnotation.FLAGS_INVISIBLE | PdfAnnotation.FLAGS_HIDDEN));

stamper.addAnnotation(pdfAnnotation, 1);
===================================================================

Thanks, and a "Merry Christmas!" to everyone,
SSD.




On Tue, Dec 23, 2008 at 2:41 PM, Sankha Subhra Dey <[email protected]>wrote:

> it seems there isn't an ar 9 for ubuntu yet.
>
> anyway i downloaded ar9 on vista and checked the annotation, and it is
> still visible. so could someone please tell me what's going wrong?
>
> thanks
> shankha.
>
>
>
>
>
> On Tue, Dec 23, 2008 at 7:21 AM, 1T3XT info <[email protected]> wrote:
>
>> Sankha Subhra Dey wrote:
>> > Well where did you get AR9 from? The latest version on Adobe's site
>> > takes me to a link for 8.1.3, and the annotation is still visible in
>> > that (I had 8.1.2). Am i missing anything here?
>>
>> http://get.adobe.com/reader/
>> --
>> This answer is provided by 1T3XT BVBA
>> http://www.1t3xt.com/ - http://www.1t3xt.info
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to