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

PdfPasswordRequestedEventHandler Delegate

This event handler is used to programmatically provide a document opening password in a PDF Viewer and PDF Document Processor to open a document without end-user interaction.

Namespace: DevExpress.Pdf

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

NuGet Package: DevExpress.Pdf.Core

#Declaration

public delegate void PdfPasswordRequestedEventHandler(
    object sender,
    PdfPasswordRequestedEventArgs e
);

#Parameters

Name Type Description
sender Object

The event sender.

e PdfPasswordRequestedEventArgs

A PdfPasswordRequestedEventArgs object that is used to provide the security password to open a protected PDF file in the PDF Viewer and PDF Document Processor.

#Remarks

This event handler is used to programmatically provide a document opening password in a PDF Viewer and PDF Document Processor to open a document without end-user interaction.

The event arguments are used to provide the document password or cancel document opening.

See Also