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

Adds an event handler for the PrintPage event. The PrintPage event occurs when it's time to print a page.

[Visual Basic]
Public Sub AddOnPrintPage( _
   ByVal handler As PrintPageEventHandler _
)
[C#]
public void AddOnPrintPage(
   PrintPageEventHandler handler
);
[C++]
public: void AddOnPrintPage(
   PrintPageEventHandler* handler
);
[JScript]
public function AddOnPrintPage(
   handler : PrintPageEventHandler
);

Parameters

handler
New handler to install for this event.

See Also

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