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.
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