I am re-writing a pdf output component for a software program that needs to
accurately match common office document formats. I decided to use ColumnText to
write out lines of text. I create a new column text for each line of text that
I output. For the most part my x-values are spot on, but my y-values are not. I
am trying to tweak different parameters of the ColumnText object to get my
y-values correct. What role does the actual dimension of the ColumnText play in
outputting text?
For example does the lly value represent the baseline for text? or is it the
baseline plus the descent ? Also how does the height of the column affect the
output. For example if I change the ury, relative to the lly,the physical
positioning of the text on the page changes. Is the text centered inside of the
rectangle created by 'setSimpleColumn' ? Also what does setYline do in column
text ? I don't understand what it means when the documentation says 'Sets the
yLine. The line will be written to yLine-leading.'
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/