SaveImageButtonSelected

 

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

                                                                                                                                                                                                                                                                     

Example

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

Private Sub XYChartCtl1_SaveImageButtonSelected()               

    XYChartCtl1.OverrideSaveImageButton = True           'Do not execute XYChart's internal SaveImage method

    SavePicture XYChartCtl1.Image, "C:\SampleChart.bmp"  'Save chart image to file

End Sub                                        

                   

See Also

Events    OverrideSaveImageButton