• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

background image in text file.

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement is to put a background image in a text file.
Does iText support it?

A.B
 
Bruno Lowagie
author
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Awais Bajwa:
My requirement is to put a background image in a text file.
Does iText support it?

If you are talking about a PDF document that is created by iText: use a page event to add the background (see chapter 14).
If you are talking about adding a background image to an already existing PDF document, that's easy: use PdfStamper (chapter 2)
 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ...it sounds like this book is really helpful.

A.B

Member Java Community Process
[ November 15, 2006: Message edited by: Awais Bajwa ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic