To restrict all the permission in a PDF document, need to set the PdfPermissionsFlags as default and at least document need to be protected using owner password.
In order to restrict particular permission in a PDF document, at least document need to protected using owner password. Please find the below code snippet to restrict the particular permission.
By using below code snippet, we enable the permission of PDF document from printing, editing and copying with owner password.
Restrict Copying and Printing permission of the PDF document can be shown in the below code snippet.
Sample Link :
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|