Click or drag to resize

PdfViewerPasswordEventArgs Class

The data of the PasswordRequired event: the viewer needs the password of the document it opens.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    PdfViewer4WinNetPdfViewerPasswordEventArgs

Namespace: PdfViewer4WinNet
Assembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntax
public class PdfViewerPasswordEventArgs : EventArgs

The PdfViewerPasswordEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodPdfViewerPasswordEventArgs Creates the event data.
Top
Properties
 NameDescription
Public propertyCancel Set it to true to stop opening the document: the viewer shows no document and raises LoadError.
Public propertyIsPasswordIncorrect true when the password given before (the OpenPassword, a Password set in this event, or a password typed by the user) was not correct.
Public propertyPassword 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.
Top
See Also