Property RequestPdfDocumentPasswordHandler
- Namespace
- DotNetBrowser.Browser
- Assembly
- DotNetBrowser.dll
RequestPdfDocumentPasswordHandler
Gets or sets a handler that is used when the frame requests the password for an encrypted PDF document.
IHandler<RequestPdfDocumentPasswordParameters, RequestPdfDocumentPasswordResponse> RequestPdfDocumentPasswordHandler { get; set; }
Property Value
Remarks
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.
Exceptions
- ObjectDisposedException
The IBrowser has already been disposed.