officefileapi-devexpress-dot-pdf-1507d0fb.md
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
public class PdfPasswordRequestedEventArgs :
EventArgs
Public Class PdfPasswordRequestedEventArgs
Inherits EventArgs
PdfPasswordRequestedEventArgs is the data class for the following events:
| Library | Related API Members |
|---|---|
| WinForms Controls | PdfViewer.PasswordRequested |
| Office File API | PdfDocumentProcessor.PasswordRequested |
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.
Object EventArgs PdfPasswordRequestedEventArgs
See Also