Method OnEndPrint
OnEndPrint(PrintEventArgs)
Raises the EndPrint event. It is called when the last page of the document has printed.
protected virtual void OnEndPrint(PrintEventArgs e)
Parameters
e
PrintEventArgsA PrintEventArgs that contains the event data.
Remarks
The OnEndPrint(PrintEventArgs) method allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. The OnEndPrint(PrintEventArgs) method is also called if the printing process is canceled or an exception occurs during the printing process.