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!

PrintController.StartPage

Called immediately before the PrintDocument's PrintPage event is raised.

[Visual Basic]
MustOverride Public Function StartPage( _
   ByVal document As PrintDocument, _
   ByVal e As PrintPageEventArgs _
) As Graphics
[C#]
public abstract Graphics StartPage(
   PrintDocument document,
   PrintPageEventArgs e
);
[C++]
public: virtual Graphics* StartPage(
   PrintDocument* document,
   PrintPageEventArgs* e
) = 0;
[JScript]
public abstract function StartPage(
   document : PrintDocument,
   e : PrintPageEventArgs
) : Graphics;

Parameters

document
The document being printed.
e
A PrintPageEventArgs that contains the event data. . e.Graphics will be null; StartPage's return value will be used to fill in that property.

See Also

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