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

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

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

Parameters

e
A PrintEventArgs 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 OnBeginPrint in a derived class, be sure to call the base class's OnBeginPrint method.

See Also

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