ColumnText.showTextAligned(template, Element.ALIGN_LEFT, new Phrase("DARK GRAY", regular), 0, rect.getHeight() + 2, 0); barcode.placeBarcode(template, BaseColor.BLACK, BaseColor.BLACK); Image image = Image.getInstance(template); image.setRotationDegrees(90);