Free Support Forum - aspose.com

How to set security for PDF documents?

documentPrivilege.AllowPrint = !doNotAllowPrint;
documentPrivilege.AllowDegradedPrinting = !doNotAllowPrint;
documentPrivilege.AllowFillIn = !doNotAllowCopyExtract;
documentPrivilege.AllowModifyContents = !doNotAllowChange;
documentPrivilege.AllowCopy = !doNotAllowCopyExtract;
documentPrivilege.AllowModifyAnnotations = !doNotAllowComment;

How do I set the Page Extraction in the code above?

@Junyoung

Thank you for contacting support.

We are afraid setting Page Extraction may not be supported at the moment. However, a ticket with ID PDFNET-45239 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.