Problem compatibility
PDFsharp is a .NET library for creating and modifying PDF documents.
Brought to you by:
pdfsharp,
stefan_lange
Hi
My name is Samartean Marian.
I have more tasks.
One of them is to set the the propriety of the document : Can be open by :" Adobe 5.0 and later" to " Adobe 6.0 and later" .
My version of PDFSHarp is 2.0.50727.
Can you help me?
Hi!
To get Acrobat 6, set "document.Version = 15; " where "document" is your object of PdfDocument class.
Hi again!
Yes,I had set that property.
But what I have to set is the next thing,that is attached in my post.
I mean,when I open the PDF Document , at the Document Security,Can be Open by,to be set To :"Adobe 6 and later",not "Adobe 5.0 and later",that is automaticall,even if I had set the document.Version to 15.
Thanks for answering!
Maybe this one will be more helpfull.
AFAIK you cannot (yet) get this with PDFsharp.
I think that somehow it could be solved.
That change the Can be Open by property from "Adobe 5.0 and later" to "Adobe 6.0 and later"
I had solved this problem in ceTeDynamic PDF,with this line of code :
" usesecurity.UseCryptFilter = true; ".
But,the problem was,that they automatically puts on my PDF a watermark,that shouldn't have to be there.
I found something about filters on security on this page,but I couldn't get to it.
https://github.com/DavidS/MigraDoc/blob/master/PDFsharp/code/PdfSharp/PdfSharp.Pdf.Security/PdfSecurityHandler.cs
Last edit: Marian Samartean 2017-05-03