Xceed Grid for WinForms v4.3 Documentation
OnBeginPrint Method


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

   ByVal e As PrintEventArgs _

) 
'Usage
 
Dim instance As GridPrintDocument

Dim e As PrintEventArgs

 

instance.OnBeginPrint(e)
protected override void OnBeginPrint( 

   PrintEventArgs e

)

Parameters

e
A System.Drawing.Printing.PrintEventArgs that contains the event data.
Remarks
When overriding OnBeginPrint in a derived class, be sure to call the base class's OnBeginPrint 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 OnBeginPrint