简体   繁体   中英

iTextSharp saving a filled form (C#.Net)

On an asp.net page I am allowing my user to enter data to my pdf form, all I want to do is once they submit, save that form as a PDF file under different name into a directory.

Do I have to read all fields (request.form) one-by-one and use pdfstamper to save into a new file or is there a quick way to do a clone of the page and save under different name?

You can set them all at once:

StackOverflow doesn't like '(' or ')' in its links

  1. Make sure your PDF is submitting FDF data
  2. acroFields.setFields()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM