IBrowserRequestPdfDocumentPasswordHandler Property |
Namespace: DotNetBrowser.Browser
IHandler<RequestPdfDocumentPasswordParameters, RequestPdfDocumentPasswordResponse> RequestPdfDocumentPasswordHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
Use the Password(String) method to provide the password for the encrypted PDF document.
Use theShowPasswordDialog method to invoke the default PDF viewer password dialog.
Use theCancel method to cancel the request.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Cancel will be used.