System.Drawing.Printing.PrintDocument.BeginPrint Event

Occurs when the PrintDocument.Print method is called and before the first page of the document prints.


public event PrintEventHandler BeginPrint


Typically, you handle the PrintDocument.BeginPrint event to initialize fonts, file streams, and other resources used during the printing process.

To associate the event with your event handler, add an instance of the System.Drawing.Printing.PrintEventHandler delegate to the event. The event handler is called whenever the event occurs. For more information about handling events with delegates, see [<topic://cpconEventsDelegates>].


Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0,