asked on August 4, 2016 Show version history

Hello,

I'm attempting to create an uneditable PDF via the DocumentExporter.ExportPdf(IDocumentContents, PageSet, PdfExportOptions, string OutputPath) method,  but the PdfExportOptions.RestrictModifyContent option is not applying properly - or at least not in the way I assumed it would, as I can still drag images/textboxes/annotations around, edit text, save changes, etc.

Other options I've tried in testing get applied correctly, such as "RenderAnnotationsAsImage" (which is similar to what I want but I can't use that because it doesn't allow for image transparency) so I believe it's an issue specific to "RestrictModifyContent."

In the full versions of adobe acrobat, there is a security option named something to the effect of "Restrict Editing" which applies the sort of setting I'm looking for. The similar terminology leads me to believe that "Restrict Editing" and "RestrictModifyContent" are related somehow. However, I only have access to the reader version of adobe acrobat, and that's all that I have installed on my machine - could this potentially be the cause, or am I completely wrong here? What is the RestrictModifyContent option supposed to do?

__________________________________________________________________________________________

The end result that I'm looking for is having a PDF that can't be edited in any way, and can be viewed without a password. It does not matter to me if the different elements are selectable or not, so long as transparency works and nothing can be edited. If there's another way of getting to that point, I'm open to suggestions.

 

Thanks.

0 0