Поделиться через


ReportViewer.Print Event

Occurs when a user prints the report.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Public Event Print As ReportPrintEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As ReportPrintEventHandler

AddHandler instance.Print, handler
public event ReportPrintEventHandler Print
public:
event ReportPrintEventHandler^ Print {
    void add (ReportPrintEventHandler^ value);
    void remove (ReportPrintEventHandler^ value);
}
/** @event */
public void add_Print (ReportPrintEventHandler value)

/** @event */
public void remove_Print (ReportPrintEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when a user prints the report.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace