If i encrypt a PDF file, is it possible to open it with the owner password (in PDFCreator) and do another encrypt with a new password and new permissions ?
If yes howto ?
Thanks
Didier Urban
Encrypt question
Hello,
It is not clear what you mean but below is a snippet of code that does this.
With PDF1
.SetLicenseKey LicenseTo, ActivationCode
'Open existing encrypted PDF document
.Open "c:\temp\testEncrypt.pdf", ""
'protect a document using a new owner and a new user password
.Encrypt "owner", "user", &HFFFFFFC0
.Save "c:\temp\testEncrypt.pdf", 0
End With
Thanks
It is not clear what you mean but below is a snippet of code that does this.
With PDF1
.SetLicenseKey LicenseTo, ActivationCode
'Open existing encrypted PDF document
.Open "c:\temp\testEncrypt.pdf", ""
'protect a document using a new owner and a new user password
.Encrypt "owner", "user", &HFFFFFFC0
.Save "c:\temp\testEncrypt.pdf", 0
End With
Thanks