Table of Contents

Method OnEndPrint

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

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 PrintEventArgs

A 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.