We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Word to PDF with "DocumentAssembly" set to allowed

Hi,


We are using Aspose Words to convert word documents to pdf.
We need the converted PDF to be set to “document assembly” allowed, but we cant find such an option with the save document function.

How can we allow the document-assembly during the doc-pdf conversion?

Thanks,
Shahar

Hi Shahar,

Thanks for your inquiry. Sure, using the PdfSaveOptions.EncryptionDetails.Permissions property you can specify the operations that are allowed to a user on an encrypted PDF document. For example, you can use PdfPermissions.DocumentAssembly property to allow assembling the document ( inserting, rotating, or deleting pages and creating navigation elements such as bookmarks or thumbnail images ). For more information, please refer to the following page:

Best regards,

Hi,


Thanks for the feedback.
Is it possible to modify the document restrictions without setting a password? (i.e. change the Document Restirction section rather than the Document Security)

Please see attached example for reference.

Thanks!
Shahar

Hi Shahar,


Thanks for your inquiry. I am afraid, you can only specify permissions on an encrypted PDF document and when you encrypt a PDF document, you must also have to specify a password. If we can help you with anything else, please feel free to ask.

Best regards,