ReportPrintEventHandler Delegate
Represents the method that will handle the Print and PrintingBegin events.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Delegate Sub ReportPrintEventHandler ( _
sender As Object, _
e As ReportPrintEventArgs _
)
'Usage
Dim instance As New ReportPrintEventHandler(AddressOf HandlerMethod)
public delegate void ReportPrintEventHandler (
Object sender,
ReportPrintEventArgs e
)
public delegate void ReportPrintEventHandler (
Object^ sender,
ReportPrintEventArgs^ e
)
/** @delegate */
public delegate void ReportPrintEventHandler (
Object sender,
ReportPrintEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
The source of the event.
- e
A ReportPrintEventArgs that contains the event data.