Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

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