C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : EndPrint Event |
'Declaration
<C1DescriptionAttribute("Fires after the grid finishes printing.")> Public Event EndPrint As PrintEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As PrintEventHandler AddHandler instance.EndPrint, handler
[C1Description("Fires after the grid finishes printing.")] public event PrintEventHandler EndPrint
[C1Description("Fires after the grid finishes printing.")] public: event PrintEventHandler^ EndPrint
The event handler receives an argument of type PrintEventArgs containing data related to this event. The following PrintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
PrintAction | Returns System.Drawing.Printing.PrintAction.PrintToFile in all cases. |
This event is typically used to update the user interface and provide feedback while printing the grid.
Use the PrintGrid(String,PrintGridFlags) method to print the grid and specify the document name, common printing options, headers and footers.
Use the PrintParameters property to specify less common printing options such as header and footer fonts, page margins, orientation, and so on.
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