Hi, 

For signatures we are using SAPI (Cosign). the PDF can accept multiple 
signatures.

Once i open the PDF document using PdfStamper then loop thru the Acro Fields to 
update the content its removing the previous signatures.

Please help.

i have used PdfStamper with append mode.


This is what i am trying to do
-------------------------------------
PdfReader reader = new PdfReader(pdfDoc);
//create memory stream to hold the pdf document
MemoryStream pdfMemoryStream = new MemoryStream();

PdfStamper stamp1 = new PdfStamper(reader, pdfMemoryStream, '\0',  true);
//retrieve all the PDF fields 
AcroFields form1 = stamp1.AcroFields;

// update the fields with the data.


byte[] buffer = pdfMemoryStream.ToArray();




// save the file in Sharepoint
SPFile file = fileCollection.Add(m_fieldDocName, buffer, true);


Please help


Thanks in advance
Usman
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to