'Declaration
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.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
PrintAction | Returns System.Drawing.Printing.PrintAction.PrintToFile in all cases. |
Remarks
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