BCGControlBar Library for .NET
BeforePrintPage Event




Raised before Grid control begins to print next page.
Syntax
'Declaration
 
Public Event BeforePrintPage As GridPrintPageEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As GridPrintPageEventHandler
 
AddHandler instance.BeforePrintPage, handler
public event GridPrintPageEventHandler BeforePrintPage
public: __event GridPrintPageEventHandler* BeforePrintPage
public:
event GridPrintPageEventHandler^ BeforePrintPage
Event Data

The event handler receives an argument of type GridPrintPageEventArgs containing data related to this event. The following GridPrintPageEventArgs properties provide information specific to this event.

PropertyDescription
MarginBounds  
PrintPageEventData  
Remarks
Handle this event to customize printing. You can set GridPrintPageEventArgs.Cancel to true to cancel printing.
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

GridControl Class
GridControl Members

Send Feedback