getXTLM and getYTLM won't work, it's only valid within the text state. It's
easier for now to have PdfAnnotation public and forget about Annotation.
That's what I'm doing for low level access.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Chen, Donald [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, March 14, 2002 16:51
> To: '[EMAIL PROTECTED]'
> Cc: [EMAIL PROTECTED]
> Subject: [iText-questions] RE: How to put an Annotation on a
> PdfConten tByte and in a PdfPTa b le?
>
> 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
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions