I try use the OpenEx method. I pass empty password like as "" but the method arouse error like this "Error opening..." When I replace the OpenEx by Open then all OK. May be it mustn't to use OpenEx with empty password for uncrypted dicument? Where am I wrong?
Thanks Kirill
OpenEx method of IDIDocument
Hello,
I am not sure which version of the PDF Converter you are using.
The Open() method is for pdf files that are not encrypted and do not have a password. OpenEx() is to open files that are encrypted and do have a password.
OpenEx() should not generate an error if you are trying to open an encrypted pdf file where the user password is null, in this case you will specify an emty string as a second parameter for OpenEx().
Hope this helps.
I am not sure which version of the PDF Converter you are using.
The Open() method is for pdf files that are not encrypted and do not have a password. OpenEx() is to open files that are encrypted and do have a password.
OpenEx() should not generate an error if you are trying to open an encrypted pdf file where the user password is null, in this case you will specify an emty string as a second parameter for OpenEx().
Hope this helps.