I would like to know is there any Java API is available to convert editable PDF to non-editable PDF online. We have a client application where we need to fetch the editable PDF from backend and display as non-editable PDF in UI. Appreciate your help.
This code is for iText 2, the API may have changed in iText 5, but should be similar. Instead of "PdfWriter.AllowPrinting" you could use a combination of other options (or none at all, meaning 0), depending on what you want the user to be able to do with the document.