Table of Contents

Method OnPrintPage

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

OnPrintPage(PrintPageEventArgs)

Raises the PrintPage event. It is called before a page prints.

protected virtual void OnPrintPage(PrintPageEventArgs e)

Parameters

e PrintPageEventArgs

A PrintPageEventArgs that contains the event data.

Remarks

The OnPrintPage(PrintPageEventArgs) 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.