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.



'XYChartCtl1 is the name of the XY Chart control instance placed on the form

Private Sub XYChartCtl1_PrintButtonSelected()               

    XYChartCtl1.OverridePrintButton = True 'Do not execute XYChart's internal Print method


    'Custom print routine



End Sub                                        


See Also

Events     OverridePrintButton