ActiveReports 8
OnStartPage Method
See Also 
GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports.Document.Section Namespace > ActiveReportPrintControllerWithStatusDialog Class : OnStartPage Method

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.

Glossary Item Box

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 the System.Drawing.Printing namespace for additional information.

Requirements

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

See Also