Menu

Problem compatibility

Help
2017-05-02
2017-05-03
  • Marian Samartean

    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?

     
  • PDFsharp Team

    PDFsharp Team - 2017-05-02

    Hi!
    To get Acrobat 6, set "document.Version = 15; " where "document" is your object of PdfDocument class.

     
  • Marian Samartean

    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!

     
  • Marian Samartean

    Maybe this one will be more helpfull.

     
  • PDFsharp Team

    PDFsharp Team - 2017-05-03

    AFAIK you cannot (yet) get this with PDFsharp.

     
  • Marian Samartean

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.