.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfPasswordRequestedEventArgs Class

Provides the security password to open a protected PDF file in the PDF Viewer and PDF Document Processor.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.2.Core.dll

Declaration

public class PdfPasswordRequestedEventArgs :
    EventArgs
Public Class PdfPasswordRequestedEventArgs
    Inherits EventArgs
public class PdfPasswordRequestedEventArgs :
    EventArgs
Public Class PdfPasswordRequestedEventArgs
    Inherits EventArgs
public class PdfPasswordRequestedEventArgs :
    EventArgs
Public Class PdfPasswordRequestedEventArgs
    Inherits EventArgs

Remarks

Use the PdfPasswordRequestedEventArgs.PasswordString property to provide the document password when a PDF file is requested to be opened or interrupt the password request process (if this property has the null value).

To obtain the current number of password request attempts, use the PdfPasswordRequestedEventArgs.PasswordRequestsCount property.

Inheritance

Object
EventArgs
PdfPasswordRequestedEventArgs
See Also