• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

iText help for generating PDF

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam using iText for the first time to generate dynamic PDF documents. In PDF i have to display logo in left side and on the same line i need to display the address in the right side of the page. In the next line i have to display the shipping address in the left and contact information in the right side. Can anyone please help me as how to align this. I used paragraph and chunk but iam not getting the desired output. Instead logo is placed in first line and address is placed in the right side of the next line. But i need both in the same line.

Please help and provide any link for reference and good tutorial.
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why dont you try using PdfPCell and PdfPTable for alignment and other similar problems?

 
author
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanuja Vishwanath wrote:Please help and provide any link for reference and good tutorial.



As you can see in the previous threads, you can find all that information in the second edition of "iText in Action":
http://itextpdf.com/book/
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic