itext7 生成pdf 怎么设置只读???
参考 editable PDF to Non-Editable/Read Only after filling in the acro-fields using Itext 7:
PdfAcroForm.GetAcroForm(pdfDoc, true).FlattenFields();