Pdf |
The PdfViewerPasswordEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| Cancel | Set it to true to stop opening the document: the viewer shows no document and raises LoadError. | |
| IsPasswordIncorrect | true when the password given before (the OpenPassword, a Password set in this event, or a password typed by the user) was not correct. | |
| Password | Set it to the password of the document (the user password or the owner password). When it is not set, the viewer asks the user for the password. |