I remember that I used the placeBarcode instead of an
Image object because I got a smaller size. At the
beginning I did also try with a table but because I
archive thousands of documents, even a 1K makes a
difference; that's why I choose the placeBarcode.

I will try to rewrite acorrding to your suggestion.

Thanks.
Giuseppe.

--- bruno <[EMAIL PROTECTED]> ha scritto: 

> beppe costagliola wrote:
> 
> >But because the barcode goes over a dark area 
> >
> Oops. I know my answer was too simple,
> but I didn't know why.
> When you do getUnderContent, everything you
> write to this layer goes UNDER the dark area too.
> 
> Let's take a step back and rewrite the code
> so that it looks somewhat better.
> I don't like the concatCTM trick you are pulling
> to position the barcode. It makes the code too
> complex and hard to debug.
> 
> Why don't you create a PdfTemplate.
> Add a while rectangle and the barcode
> to this PdfTemplate and wrap the template
> in an Image object.
> 
> Then put the Image object at on the dark
> area and you are done.
> 
> br,
> Bruno
> 
> 
> _______________________________________________
> iText-questions mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


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

Reply via email to