|Visual Basic (Declaration)|
Public Event PrintAbort() As PrintAbortEventHandler
|Visual Basic (Usage)||Copy Code|
public event PrintAbortEventHandler PrintAbort()
The event handler receives an argument of type PrintAbortEventArgs containing data related to this event. The following PrintAbortEventArgs properties provide information specific to this event.
|Abort||Gets or sets whether to discontinue the print job.|
|Visual Basic||Copy Code|
This event is raised by the OnPrintAbort method when the user cancels the print job.
If you have the PrintInfo.AbortMessage property set, a message box appears with that message.
For more details on the individual event arguments, refer to PrintAbortEventArgs members.