I am having an issue flattening a "Signature" in a pdf. Pencil Tool
Annonations do not appear to be stamped into an iText generated stamped PDF
with the following code:

 PdfReader reader = new PdfReader(bIn);
        
ByteArrayOutputStream baos = new ByteArrayOutputStream();
        
// Create a stamper
PdfStamper stamper = new PdfStamper(reader, baos);

stamper.setFormFlattening(true);
       
Utility.write("Flattening FreeText Symbols");
       
stamper.setFreeTextFlattening(true);
        
stamper.close();
        
return baos.toByteArray();

In reading the iText documentation it sounded like
setFreeTextFlattening(true) would "stamp" the Pencil marks into the
document, but that does not appear to be the case. Has anyone successfully
stamped a user-generated "Pencil Mark" into a PDF with iText?

Thanks.

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Flattening-Pencil-Tool-Annotations-tp3354067p3354067.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to