Xceed Grid for WinForms v4.3 Documentation
OnPrintPage Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridPrintDocument Class : OnPrintPage Method
A System.Drawing.Printing.PrintPageEventArgs that contains the event data.
Raises the System.Drawing.Printing.PrintDocument.PrintPage event.
Syntax
'Declaration
 
Protected Overrides Sub OnPrintPage( _

   ByVal e As PrintPageEventArgs _

) 
'Usage
 
Dim instance As GridPrintDocument

Dim e As PrintPageEventArgs

 

instance.OnPrintPage(e)
protected override void OnPrintPage( 

   PrintPageEventArgs e

)

Parameters

e
A System.Drawing.Printing.PrintPageEventArgs that contains the event data.
Remarks
When overriding OnPrintPage in a derived class, be sure to call the base class's OnPrintPage method so that registered delegates receive the event.
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

Reference

GridPrintDocument Class
GridPrintDocument Members
Base Implementation in OnPrintPage