How to flatten already filled out PDF form using iTextSharp

后端 未结 4 1756
清酒与你
清酒与你 2021-01-01 22:57

I\'m using iTextSharp to merge a number of pdf files together into a single file.

I\'m using method described in iTextSharp official tutorials, specifically here, wh

4条回答
  •  温柔的废话
    2021-01-01 23:45

    I think this problem is same with this one: AcroForm values missing after flattening

    Based on the answer, this should do the trick:

    pdfStamper.FormFlattening = true;
    pdfStamper.AcroFields.GenerateAppearances = true;
    

提交回复
热议问题