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