How can i open password protected pdf file?

Hi Team,

I want to open pdf file that is password protected without showing password required popup to user.

I want to fill password dynamically from code behind and open pdf file to user without password required popup.

Is there any way to do this in pdf express ?

Regards,
Mukesh

Hi!

There is a password option you can pass to loadDocument.

Let me know if you have any more questions,

Thanks!
Logan

Hi people,

I’m testing Express Viewer on a corporate intranet. I’m not finding any examples of how to open a password protected document.

I didn’t find the password option in loadDocument.

Thanks.

Hi there,

You must provide a password property to the loadDocument API, as documented here.

Thanks!
Logan

Problem solved. Thanks.

Marcio Branco.

1 Like