Re: [iText-questions] underline text

2008-04-05 Thread info
Quoting "Gaw?dzki, Pawe?" <[EMAIL PROTECTED]>: > You can use cb.setColorFill(Color.red) this should help. Actually, it's setColorStroke for lines. setColorFill is for paths, but I'm sure the pointer helped the original poster to find which method to use. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] underline text

2008-04-04 Thread Gawędzki , Paweł
: [iText-questions] underline text Good morning. I´ve a question, and certainly I need some help. I have used the ContentByte, and cb.lineTo (xxx, xxx). The result is a text underlined with the width of the page. But this line is black and I would like it was red. Can anybody help me? Thanks

Re: [iText-questions] underline text

2008-04-04 Thread Javier Del Amo
Good morning. I´ve a question, and certainly I need some help. I have used the ContentByte, and cb.lineTo (xxx, xxx). The result is a text underlined with the width of the page. But this line is black and I would like it was red. Can anybody help me? Thanks and greetings. 2008/4/3, 1T3XT info

Re: [iText-questions] underline text

2008-04-03 Thread 1T3XT info
Javier Del Amo wrote: > Good morning. > > Is there any way to underline a chunk, phrase, or paragraph and whose > width is the width of the paper? I see this question was overlooked. > The api said that the underline is the width of the chunk. Is > it possible that this underlined has the widt

[iText-questions] underline text

2008-04-03 Thread Javier Del Amo
Good morning. Is there any way to underline a chunk, phrase, or paragraph and whose width is the width of the paper? The api said that the underline is the width of the chunk. Is it possible that this underlined has the width of the paper? Thanks.

Re: [iText-questions] underline text

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of duschhaube > Sent: Thursday, September 21, 2006 1:17 PM > To: itext-mailinglist > Subject: [iText-questions] underline text > > Hello, > > > to create u

[iText-questions] underline text

2006-09-21 Thread duschhaube
Hello, to create underlined text I use font.setStyle("underline"); is it possible to underline the text in a different color, so the text is black and the line is blue? or have i to use chuck.setUnderline in this case? ciao --

Re: [iText-questions] underline text

2005-09-08 Thread bruno
Bruno Gonçalves wrote: I get a error when I try to convert the pdf to ps, using pdf2ps from ghostscript (on Solaris). So it looks good on screen and if you print it? It only fails when using pdf2ps? Seems like you should ask the pdf2ps developer what goes wrong. Underlining text is just drawin

[iText-questions] underline text

2005-09-08 Thread Bruno Gonçalves
Hi there, How can I underline a text like this code: new Chunk("www.xpto.pt", FontFactory.getFont(FontFactory.HELVETICA, 10, Font.UNDERLINE, new Color(0, 0, 255))).setAnchor(new URL("http://www.xpto.pt/")); but not using this code. I get a error when I try to convert the pdf to ps, using pdf2ps fr

Re: [iText-questions] Underline text and PdfContentByte

2005-04-11 Thread David Perez
Hi, I think I have found the answer myself: the class ColumnText. In iText I always find a way of doing things :-) . Viva iText!!! David Perez schrieb: Hi, Does anybody know an easy way of creating underlined text with PdfContentByte class?. I need it for creating underlined text at absolute pos

RE: [iText-questions] Underline text and PdfContentByte

2005-04-11 Thread Paulo Soares
ColumnText.showTextAligned() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Perez > Sent: Monday, April 11, 2005 8:50 AM > To: iText > Subject: [iText-questions] Underline text and PdfContentByte > > Hi, >

[iText-questions] Underline text and PdfContentByte

2005-04-11 Thread David Perez
Hi, Does anybody know an easy way of creating underlined text with PdfContentByte class?. I need it for creating underlined text at absolute positions. The setFontAndSize() method doesn't handle this. The only method I know is to create manually a line by hand. Thanks in advance for any hint. Re

[iText-questions] Underline text

2002-07-31 Thread Sergio Lopez Rodriguez
Is there any way of reducing the space between the text underlined and the line that underline the text? It seems too big if u compare it with the result in a Word doc using the same font type ... Or should i do sth like is said in http://sourceforge.net/mailarchive/message.php?msg_id=253887