I've got a paragraph that I'm adding to a PdfPCell.  The image I'm
adding is displaying over the text before it.  This happens with or
without the image alignment set.  

I've checked the tutorials and docs, but I'm still stuck.  How can I
get a Chunk with an image to honor its place in a paragraph?

Image checkboxOpenImage = Image.getInstance("checkbox-open.jpg");
checkboxOpenImage.scalePercent(18);
checkboxOpenImage.setAlignment(Image.LEFT|Image.TEXTWRAP);
Paragraph quest1 = new Paragraph("1.", 
        FontFactory.getFont(FontFactory.HELVETICA, 10, Font.NORMAL,
Color.black));
quest1.add(new Phrase("b. "));
quest1.add(new Chunk(checkboxOpenImage, 0, 0));
quest1.add(new Phrase(" Requested ..."));



-----------------------------------------------
Confidentiality Notice

This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential or proprietary information 
which is legally privileged.  Any unauthorized review, use, disclosure, or 
distribution is prohibited.  If you are not the intended recipient, please 
promptly contact the sender by reply e-mail and destroy all copies of the 
original message.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to