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

'Declaração
<BrowsableAttribute(False)> _
Public Event EndPrint As PrintEventHandler
[BrowsableAttribute(false)]
public event PrintEventHandler EndPrint
[BrowsableAttribute(false)]
public:
 event PrintEventHandler^ EndPrint {
    void add (PrintEventHandler^ value);
    void remove (PrintEventHandler^ value);
}
[<BrowsableAttribute(false)>]
member EndPrint : IEvent<PrintEventHandler,
    PrintEventArgs>
JScript does not support events.

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.

.NET Framework Security

See Also

Reference

PrintForm Class

Microsoft.VisualBasic.PowerPacks.Printing Namespace

Other Resources

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)