beppe costagliola wrote:

>I'm writing the bardoce onto an existing pdf with this
>code:
>
>PdfStamper stamp = new PdfStamper(reader, new
>FileOutputStream(TOPDF));
>....
>over = stamp.getOverContent(i);
>....
>Rectangle rect = code128.placeBarcode(under, null,
>null);
>
>
>Now how can I get the: 
>PdfContentByte cb = writer.getDirectContentUnder(); 
>  
>
In PdfStamper, you need stamp.getUnderContent(i);
(Yes, it's that simple ;-) )
br,
Bruno


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to