New Forum | Previous | Next | (P-PDF) Developers
Topic: Remove Standard Security in Batch
Conf: (P-PDF) Developers, Msg: 58929
Date: 5/29/2002 05:35 PM
Hi I am looking for a method (besides active pdf) to remove security from a file. I was trying to figure out if using the acrobat sdk, I could open the file passing a password and do a file save as without the security.
Can anyone help me with a code to do this?
It seems like i need to use:
Set AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
Set AcroExchPDDoc = AcroExchAVDoc.GetPDDoc
AcroExchPDDoc.Save(1, srcdirectory & targetfilename)
Can someone give me the changes I need to open with a password and save with the security? Please let me know. Thanks alot,