.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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

Declaration

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

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.

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.

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