: Post all your questions about iText here
Assunto: [iText-questions] Image.setRotation seems to be broken...
...in this context at least...
try {
String text = "FOO";
float barHeight = 20f;
float barWidth = 1f;
Barcode39 bc = new Barcode39();
bc.setCode(text);
bc.setStartStop
> My goal is to rotate the barcode. I'm working with templates
> and direct
> content. I don't think PdfTemplate.addImage pays attention to
> this image's rotation.
Both versions of PdfContentByte.addImage() that take 6 floats override the
image's transformation matrix. You'll have to use Ima
...in this context at least...
try {
String text = "FOO";
float barHeight = 20f;
float barWidth = 1f;
Barcode39 bc = new Barcode39();
bc.setCode(text);
bc.setStartStopText(false);
bc.setChecksumText(false);
bc.setAltText("");
bc.setBarHeight(barHeight);
bc.setX(barWidth);
Image img =