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.
See the System.Drawing.Printing namespace for additional information.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2