Skip to main content

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.v23.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