Back to Devexpress

PdfPasswordRequestedEventArgs Class

officefileapi-devexpress-dot-pdf-1507d0fb.md

latest1.9 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

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

PdfPasswordRequestedEventArgs is the data class for the following events:

LibraryRelated API Members
WinForms ControlsPdfViewer.PasswordRequested
Office File APIPdfDocumentProcessor.PasswordRequested

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

PdfPasswordRequestedEventArgs Members

DevExpress.Pdf Namespace