Steve Simpson (AVR IT Dept) wrote:

All,

I have a barcode that I print on an Invoice that runs horizontally from left to right. I now want to rotate this barcode through 90 degrees clockwise so that it will run down the right hand side of the page. As soon as I try to rotate the barcode in iText I lose the barcode from the invoice. I've tried using

imgShipBarCode.setRotation(90);

and

imgShipBarCode.setRotationDegrees(90);

Can you offer any advice on how to rotate this barcode?

I think the barcode is in your invoice, but it's probably rotated 'off the page'.
Is imgShipBarCode an instance of com.lowagie.text.Image?
Try changing the absolute position of the image.
And are you sure the scaledWidth and scaledHeight are > 0?
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