I have couple of questions wrt starting a sentence with a small image and/or
square , so that all are in the same line.
Following code puts the image and sentence in two different line.
mage noteImg = Image.getInstance("./src/imgs/note.gif");
Paragraph notePara = new Paragraph();
notePara.add(noteImg);
notePara.add(new Chunk(" "));
notePara.add(new Chunk("Note:",FontFactory.getFont("Arial Narrow", 10,
Font.BOLD)));
notePara.add(new Chunk(note.text,FontFactory.getFont("Arial Narrow", 10,
Font.NORMAL)));
Also need a help on creating a small square. I tried with List items but it did
not help me.
Appreciate your help.
- Ranjan
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php