Begins the control sequence that determines when and how to print a page in a document.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Function OnStartPage( _
ByVal prnDoc As System.Drawing.Printing.PrintDocument, _
ByVal ppea As System.Drawing.Printing.PrintPageEventArgs _
) As Graphics |
C# | |
---|
public override Graphics OnStartPage(
System.Drawing.Printing.PrintDocument prnDoc,
System.Drawing.Printing.PrintPageEventArgs 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