Hi Gimmy,
Thank you contacting Syncfusion support.
Our Syncfusion Essential PDF supports form fields to be enabled as read only or flattened on the page. To save the PDF in a non-editable format, we can either use ReadOnly or Flatten properties after the form is filled. The “ReadOnly” property disables the form fields from editing and the “Flatten” property removes the field and prints the graphical representation of the field on the page.
We have supports for enabling read-only for a specific field or the whole document,
//Enables read-only for a specific field. loadedDocument.Form.Fields[0].ReadOnly = true; |
//Enables read-only for the whole document. loadedDocument.Form.ReadOnly = true; |
We can flatten the form fields similarly,
//Enables flatten for a specific field. loadedDocument.Form.Fields[0].Flatten = true; |
//Enables flatten for the whole document. loadedDocument.Form.Flatten = true; |
Kindly refer the following UG documentation for removing editing capability of form fields, https://help.syncfusion.com/file-formats/pdf/working-with-forms#removing-editing-capability-of-form-fields
Kindly let us know if you need any further assistance.
Regards,
Anantha Gokula Raman J