So the "+" works in fields because the field is actually LIVE
(editable) TEXT, but because you are flattening, you lose that
option. If you didn't flatten, then the "+" would appear just as it
did in the FDF days...
Leonard
On Feb 26, 2008, at 3:37 AM, [EMAIL PROTECTED] wrote:
Hi Leonard
I'm flattening the form, not the individual field (if this is
possible). (PDF should be unamendable since it forms part of a
contract.). Here's my code:
PdfReader reader = new PdfReader(new RandomAccessFileOrArray
(documentPath), null);
MemoryStream ms = new MemoryStream();
PdfStamper stamper = new PdfStamper(reader, ms);
AcroFields fields = stamper.AcroFields;
foreach (Mapping mapping in mappingList)
{
fields.SetField(mapping.Fieldname, mapping.Value);
}
stamper.FormFlattening = true;
stamper.Close();..........
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/