Bruno, 

I am afraid there is some misunderstanding here.  Let me rephrase my
question:

I have an Annotation:  
        Annotation myHumbleTextAnnotation = new Annotation("Title",
"string");

In order to put it on a PdfContentByte "cb" at abosolute position (X, Y),
how to do that?

It seems to me that,
     cb.add(myHumbleTextAnnotation);

can not help.

Thanks,

Don


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 11:10 AM
To: Chen, Donald
Cc: [EMAIL PROTECTED]
Subject: Re: How to put an Annotation on a PdfConten tByte and in a
PdfPTa b le?


Sorry I was in a meeting the whole afternoon.
I couldn't reply earlier. 

Chen, Donald writes: 

> Is the usage of PdfContentByte.add(Annotation a) like this:

It's like this: 

> PdfContentByte.add(Annotation a) 

the x and y are fetched from the PdfContentByte
(getXTLM and getYTLM) 

> Annotation myHumbleTextAnnotation = new Annotation("Title", "Some lenghy
> string here....");

Any annotation.

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to