Begins the control sequence that determines when and how to print a document.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Sub OnStartPrint( _
ByVal prnDoc As System.Drawing.Printing.PrintDocument, _
ByVal ppea As System.Drawing.Printing.PrintEventArgs _
) |
C# | |
---|
public override void OnStartPrint(
System.Drawing.Printing.PrintDocument prnDoc,
System.Drawing.Printing.PrintEventArgs ppea
) |
Parameters
- prnDoc
- A System.Drawing.Printing.PrintDocument that represents the document being printed.
- ppea
- A System.Drawing.Printing.PrintPageEventArgs that contains data about how to print a page in the document.
Remarks
See Also