PrintButtonSelected Event

This event is generated whenever the user selects the Print toolbar button (see Toolbar).   Use this event to perform operations specific to whenever the Print toolbar button is selected.

[Visual Basic]
Event PrintButtonSelected()
[C#]
PrintButtonSelected()
[C++]
PrintButtonSelected()

Example

XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

[Visual Basic]
Private Sub XYChartNETCtl1_PrintButtonSelected() Handles XYChartNETCtl1.PrintButtonSelected
   XYChartNETCtl1.OverridePrintButton = True 'Do not execute XYChartNET's internal Print method
   'Custom print routine
   '...
End Sub

[C#]

[C++]

See Also

Events | OverridePrintButton