Back to Devexpress

PdfDocumentClosingEventHandler Delegate

windowsforms-devexpress-dot-xtrapdfviewer-f138cb87.md

latest1.7 KB
Original Source

PdfDocumentClosingEventHandler Delegate

A method that will handle the PdfViewer.DocumentClosing event.

Namespace : DevExpress.XtraPdfViewer

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

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

Parameters

NameTypeDescription
senderObject

The event sender.

| | e | PdfDocumentClosingEventArgs |

A PdfDocumentClosingEventArgs object that contains data related to the event.

|

Remarks

When creating a PdfDocumentClosingEventHandler delegate, identify a method that will handle corresponding events.

To associate an event with an event handler, add a delegate instance to the event.

The event handler is called whenever the event occurs, unless the delegate is removed.

To learn more, see the Events and Delegates topic in MSDN.

See Also

DevExpress.XtraPdfViewer Namespace