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 EndPrint Event

Occurs when Print is called, after the last page is printed.

The following declaration shows the syntax for a method that handles the EndPrint event.

[Visual Basic]
Private Sub PrintDocumentName_EndPrint( _
   ByVal sender As Object, _
   ByVal e As PrintEventArgs _
)
[C#]
private void PrintDocumentName_EndPrint(
   object sender,
   PrintEventArgs e
);
[C++]
private: void PrintDocumentName_EndPrint(
   Object* sender,
   PrintEventArgs* e
);
[JScript]
private PrintDocumentName_EndPrint(
   sender : Object,
   e : PrintEventArgs
);

Parameters

sender
The source of the event.
e
A PrintEventArgs that contains the event data.

See Also

PrintDocument Class | PrintDocument MembersTopic | System.Drawing.Printing Namespace | PrintDocument.OnBeginPrint | PrintDocument.BeginPrint | PrintDocument.OnEndPrint | PrintDocument.OnPrintPage | PrintDocument.PrintPage | PrintDocument.OnQueryPageSettings | PrintDocument.QueryPageSettings