NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrintDocument.OnPrintPage

Raises the System.Drawing.Printing.PrintDocument.PrintPage event.

[Visual Basic]
Overridable Protected Sub OnPrintPage( _
   ByVal e As PrintPageEventArgs _
)
[C#]
protected virtual void OnPrintPage(
   PrintPageEventArgs e
);
[C++]
protected: virtual void OnPrintPage(
   PrintPageEventArgs* e
);
[JScript]
protected function OnPrintPage(
   e : PrintPageEventArgs
);

Parameters

e
A PrintPageEventArgs that contains the event data.

Remarks

Raising an event invokes the event-handling method through a delegate. For an overview see TBD.

Notes to Inheritors: When overriding OnPrintPage in a derived class, be sure to call the base class's OnPrintPage method.

See Also

PrintDocument Class | PrintDocument Members | System.Drawing.Printing Namespace