Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Pdf.Core

#Declaration

public class PdfPasswordRequestedEventArgs :
    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