Look for Chunk.setGenericTag() and PdfPageEvent.onGenericTag().
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Monday, April 30, 2007 3:39 PM
> To: [email protected]
> Subject: [iText-questions] Draw the border of a chunk ?
>
> Hi list,
>
> I'm a newbie with iText and this is my first message on the list.
>
> I try to write text with different borders in the same sentence.
>
> I have seen that I can mix color, font, underline, etc. in
> the same Phrase with
> Chunk elements. I want to do the same for text border.
>
> For example, I want to write a text phrase like :
> "This is my example"
> with a border arround "This", a specific color for " is my "
> and another color
> and a border for "example.".
>
> Is it possible to do this with Chunk ? Unfortunately I guess
> it's not possible,
> but I hope I'm wrong on this point !
>
> If it is not possible, another way to do this is to add a
> Rectangle, but I don't
> know where to put it so that it overlaps a specific chunk.
>
> Thanks in advance for any help.
>
> Xavier
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/