Back to Devexpress

PdfPasswordRequestedEventHandler Delegate

officefileapi-devexpress-dot-pdf-03fd945f.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public delegate void PdfPasswordRequestedEventHandler(
    object sender,
    PdfPasswordRequestedEventArgs e
);
vb
Public Delegate Sub PdfPasswordRequestedEventHandler(
    sender As Object,
    e As PdfPasswordRequestedEventArgs
)

Parameters

NameTypeDescription
senderObject

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

DevExpress.Pdf Namespace