hi,

i am using ITEXT to create Pdf File . i want to reduce spacing between lines in pdf file
is this possible if it is possible then how can i do that.
thankx

Apparently iText is using little inconvenient name for line spacing "leading" based on PDF spec. So depending on where you want to change spacing Chunk/Phrase/Paragraph you can either use constructor to do it on start or a method setLeading() later in the process

i have to adjust space between two lines in pdf i am doing this code in java and using iText as external liabrary

i am reading text file and convert those text file in pdf according to my format but
the default space between two lines in more i want to reduce that space

And I already told you that this parameter can be set up directly in constructor of Chunk, Phrase or Paragraph or it can be added at any point through processing by using method setLeading().

So what do you don't understand about it?

This question has already been answered. Start a new discussion instead.