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 );
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.
PrintDocument Class | PrintDocument Members | System.Drawing.Printing Namespace