itext7 pdf 只读

2021-01-13 16:29发布

问题:

itext7 生成pdf 怎么设置只读???

回答1:

参考 editable PDF to Non-Editable/Read Only after filling in the acro-fields using Itext 7:

PdfAcroForm.GetAcroForm(pdfDoc, true).FlattenFields();


标签: itext7