.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.v20.1.Core.dll


public class PdfPasswordRequestedEventArgs :
Public Class PdfPasswordRequestedEventArgs
    Inherits EventArgs


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.


See Also