Method OnBeginPrint
OnBeginPrint(PrintEventArgs)
Raises the BeginPrint event. It is called after the Print() method is called and before the first page of the document prints.
protected virtual void OnBeginPrint(PrintEventArgs e)
Parameters
e
PrintEventArgsA PrintEventArgs that contains the event data.
Remarks
The OnBeginPrint(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.