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
: [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
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
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
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.
> -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
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
--
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
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
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
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,
>
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
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
13 matches
Mail list logo