Table of Contents

Method OnBeginPrint

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

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 PrintEventArgs

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