Hi,
I want to save the barcode image directly as the footer of my template & not as a separate image on disk.
My current code saves the barcode as an image on disk.
-------------------------------------------------------------------------------------------
public static void createBarcode(ConditionObject conditionObj, String xml) {
BarCodeBuilder b = new BarCodeBuilder();
b.setAutoSize(true);
b.setSymbology(Symbology.CODE39STANDARD);
b.setCodeText(conditionObj.getPolicyNum()+ XMLDataExtraction.getDocumentId(xml));
b.save("c:\\test.png");
}
---------------------------------------------------------------------------------------------------------------------------------------------
Also the text is visible in barcode, I don't want to show it.
Can you please help out?
Thanks
Bhoomica