PrintForm.EndPrint Event

 

Occurs when the last page of the document has printed.

Namespace:   Microsoft.VisualBasic.PowerPacks.Printing
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

[BrowsableAttribute(false)]
public event PrintEventHandler EndPrint
public:
[BrowsableAttribute(false)]
event PrintEventHandler^ EndPrint {
    void add(PrintEventHandler^ value);
    void remove(PrintEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member EndPrint : IEvent<PrintEventHandler,
    PrintEventArgs>
<BrowsableAttribute(False)>
Public Event EndPrint As PrintEventHandler

Remarks

The EndPrint event handler is typically used to perform any tasks that have to be accomplished after printing. For example, it can be used to display a dialog box to notify the user that the print job is finished.

See Also

PrintForm Class
Microsoft.VisualBasic.PowerPacks.Printing Namespace
PrintForm Component (Visual Basic)
How to: Print a Form by Using the PrintForm Component (Visual Basic)
How to: Print the Client Area of a Form (Visual Basic)
How to: Print Client and Non-Client Areas of a Form (Visual Basic)
How to: Print a Scrollable Form (Visual Basic)
Deploying Applications That Reference the PrintForm Component (Visual Basic)

Return to top