I'm sorry for this extra message but the code had a bug (bad copy-paste)...

Where you see:

        cb.setLineWidth(0.5F);
        cb.setRGBColorStrokeF(0xDF, 0xFF, 0xFF);
        cb.moveTo(10, img.plainHeight() + 25); // document's borders are 10, 10,  
img.plainHeight() + 25, 10 
        cb.lineTo(document.getPageSize().width() / 2, document.getPageSize().height() 
- img.plainHeight() -
25);

It should be 

        cb.setLineWidth(0.5F);
        cb.setRGBColorStrokeF(0xDF, 0xFF, 0xFF);
        cb.moveTo(10, document.getPageSize().height() - img.plainHeight() - 25); // 
document's borders are
10, 10,  img.plainHeight() + 25, 10 
        cb.lineTo(document.getPageSize().width() / 2, document.getPageSize().height() 
- img.plainHeight() -
25);




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to