New Forum | Previous | Next | (P-PDF) Developers
Topic: Finding restrictions applied to a doc
Conf: (P-PDF) Developers, Msg: 103118
Date: 1/1/2004 02:11 AM
Can anyone tell me how, through code, I can determine whether a pdf doc has any "permission" restrictions? I have a vb app that needs to be able to make certain types of changes in a pdf doc. Ideally, I'd like to be able to determine whether there are editing restrictions and what they (so I don't try to make changes that aren't permitted). Even better, I'd like to be able to prompt the user for a password so I can temporarily remove the restrictions, modify the file, then restore the restrictions. Everything I've found so far in the documentation about security applies to signatures, but doesn't seem to have anything to do with this type of security.