0

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

2
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by peter_budo
0

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

0

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

0

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

0

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.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.