XY Chart NET 3 Control Reference > Methods > SaveChartImageToEMF Method |
Use this method to save an image of the resulting chart to an enhanced metafile (.emf) file. The image is a capture of the chart as it is at that moment. This method is equivalent to selecting the Save Image button in the Toolbar, and then selecting the appropriate file type from the Save dialog.
[Visual Basic] Sub SaveChartImageToEMF(PathAndFilename As String) |
[C#] void XYChartNETCtl.SaveChartImageToEMF(string PathAndFilename) |
[C++] void SaveChartImageToEMF(System::String __gc *) |
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1.SaveChartImageToEMF("c:\image\xychart02.emf") 'Save image to file
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1.SaveChartImageToEMF("c:\\image\\xychart02.emf"); //Save image to file
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1->SaveChartImageToEMF("c:\\image\\xychart02.emf"); //Save image to file