Back to Devexpress

PdfPrintPageEventHandler Delegate

officefileapi-devexpress-dot-pdf-ba196b9b.md

latest1.9 KB
Original Source

PdfPrintPageEventHandler Delegate

A method that will handle the PdfViewer.PrintPage and PdfDocumentProcessor.PrintPage events.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Drawing.dll

NuGet Package : DevExpress.Pdf.Drawing

Declaration

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

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies either the PdfDocumentProcessor or PdfViewer which raised the event.

| | e | PdfPrintPageEventArgs |

A PdfPrintPageEventArgs object that contains event data.

|

Remarks

When creating a PdfPrintPageEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.Pdf Namespace