Re: [iText-questions] Line drawing

2010-10-12 Thread 1T3XT info
On 12/10/2010 22:59, Nurettin DAG wrote: > I think you could also utilize LineSeparator.java that you can add to > Chunk or paragraph. paragraph.add(new LineSeperator()) I am not sure if > you would be able to draw double lines I forgot about this option, but it's certainly a good idea. You could

Re: [iText-questions] Line drawing

2010-10-12 Thread Nurettin DAG
I think you could also utilize LineSeparator.java that you can add to Chunk or paragraph. paragraph.add(new LineSeperator()) I am not sure if you would be able to draw double lines but it has a constructor that takes in offset etc so from Bruno's explanation you should be able to. On Tue, Oct 12,

Re: [iText-questions] Line drawing

2010-10-12 Thread Michael Lai
Thank you for the clarification. I misunderstood about Chunk's setUnderline(). I thought It needs a character for it to do underline. This makes it so much easier. On 2010-10-11, at 11:44 PM, 1T3XT info wrote: > On 12/10/2010 7:49, 1T3XT info wrote: >>> However, I am using Chunk and Phrase to

Re: [iText-questions] Line drawing

2010-10-11 Thread 1T3XT info
On 12/10/2010 7:49, 1T3XT info wrote: >> However, I am using Chunk and Phrase to write to the document. > > Excellent, if you are using Chunk objects, you can use the > setUnderline() method as shown in Listing 2.5. The name setUnderline may > be somewhat misleading as you can use this method to dr

Re: [iText-questions] Line drawing

2010-10-11 Thread 1T3XT info
On 12/10/2010 6:07, Michael Lai wrote: > In the book, it uses PdfContentByte's lineTo function to draw a line. That is only one of the many possibilities discussed in the book. > However, I am using Chunk and Phrase to write to the document. Excellent, if you are using Chunk objects, you can us

[iText-questions] Line drawing

2010-10-11 Thread Michael Lai
Hi, I am a newbie to itext so please bear with me. I am converting some documents into PDFs. In some of the documents, they contain the equal characters to simulate a double line (ie, ""). One of the requirements is to make these equal characters into a proper double line. Initially, I

Re: [iText-questions] Line drawing

2005-04-30 Thread Steve Appling
See this section in the tutorial: http://itext.sourceforge.net/tutorial/directcontent/graphics/index.html#paths - Original Message - From: "leo" <[EMAIL PROTECTED]> To: Sent: Saturday, April 30, 2005 1:48 PM Subject: [iText-questions] Line drawing Hi, I want to draw

[iText-questions] Line drawing

2005-04-30 Thread leo
Hi, I want to draw lines on the Pdf page. Lines can of any thickness. Please suggest me the aprropriate class methods for that. I looked into Graphics calls and wrote something like: Graphic graphic = new Graphic(); graphic.setHorizontalLine(2,50); But no line was drawn. Thanks in advance.