> Put the text inside a ColumnText object. > Then define the area and pretend to add the object (simulate = true). > The ColumnText will give you info on the current Y position. > Create the ColumnText anew, > but use the Y position retrieved earlier to know what offset to use. > Then add the ColumnText for real (simulate = false) > br, > Bruno
Okay, so first you call setSimpleColumn(x,y,x,y) with the final width and then go(true) to simulate. I'm guessing you then use getYLine(). Does this return the y position at the bottom of the rendered column? Or is it something else? Thanks. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
