Occurs when Print is called, before the first page is printed.
The following declaration shows the syntax for a method that handles the BeginPrint event.
[Visual Basic] Private Sub PrintDocumentName_BeginPrint( _ ByVal sender As Object, _ ByVal e As PrintEventArgs _ ) [C#] private void PrintDocumentName_BeginPrint( object sender, PrintEventArgs e ); [C++] private: void PrintDocumentName_BeginPrint( Object* sender, PrintEventArgs* e ); [JScript] private PrintDocumentName_BeginPrint( sender : Object, e : PrintEventArgs );
PrintDocument Class | PrintDocument MembersTopic | System.Drawing.Printing Namespace | PrintDocument.OnBeginPrint | PrintDocument.OnEndPrint | PrintDocument.EndPrint | PrintDocument.OnPrintPage | PrintDocument.PrintPage | PrintDocument.OnQueryPageSettings | PrintDocument.QueryPageSettings