ComponentOne FlexGrid for WinForms
EndPrint Event

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : EndPrint Event
Fires after the grid finishes printing.
Public Event EndPrint As PrintEventHandler
public event PrintEventHandler EndPrint
Event Data

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.

(Inherited from System.ComponentModel.CancelEventArgs)
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.

See Also