I have an existing PDF document that is in a stream. What I need to do is to set security options on it and save to disk.
Thanks for contacting support. Please follow the instructions specified over Set Privileges on an Existing PDF File (Facades)
Thanks. However, I cannot set encryption or a password on this, but I can with the other Security object. Specifically, I need the equivalent of the Is128BitsEncrypted that is in the security object, and to set a password for the file.
marinka:EncryptFile needs to be the place where you set the password. Do not call ChangePassword to try to do this. Trying to do a ChangePassword after EncryptFile doesn’t work.
marinka:I think it would be helpful for the documentation to also include more info about what the difference between the two passwords is.