Swetha Sivaram wrote:
I'm basically trying to print some questions and the corresponding
answers for each question. The question and each of the answer options
might have pictures associated with them. I'd like to first print the
question text followed by the picture for the question (if present) -
beneath the text, and then each of the answer options with their
respective pictures (if present), again the images are printed below
the corresponding text.
How can I add an image to the ColumnText?
Image img = Image.getInstance("myImage.jpg");
column.addElement(img);
Is there a tutorial on the same?
I just checked http://itextdocs.lowagie.com/tutorial/objects/columns/
The example ColumnObjects is rather complex for newbies
and it doesn't really do what I suggested. The book will have some
examples that are really simple.
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions