Steve Simpson (AVR IT Dept) wrote:
> imgShipBarCode.setRotationDegrees(0);
> PdfPCell shipment = new PdfPCell(new Phrase(new Chunk(imgShipBarCode, 0, 0)));

This isn't the ideal way to add an Image to a PdfPCell.
Also the way you set the fixed height seems wrong.
I can't write the code in your place, but I'd use something like
new PdfPCell(imgShipBarCode, true)
or pass false as second parameter if you don't want the image to be resized.
Maybe the new method Paulo wrote to rotate the Cell content can help too
(but I didn't have the time to look at it yet).
br,
Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to