SaveChartDataToClipboard Method

Use this method to save the chart data array values to the system clipboard.   The entire contents of the chart data array is saved to the clipboard, along with a header line containing each profile name and its associated scale label.   This method is equivalent to selecting the Export Data button in the Toolbar.

[Visual Basic]
Sub SaveChartDataToClipboard(Optional strDelimiter As String = vbTab, Optional bVisibleProfilesOnly As Boolean = False)
[C#]
void XYChartNETCtl.SaveChartDataToClipboard(System.String strDelimiter, System.Boolean bVisibleProfilesOnly )
[C++]
void SaveChartDataToClipboard(System::String __gc *, bool)

Parameters

strDelimiter
String used to delimit the chart data.  
bVisibleProfilesOnly
Indicates if data for only visible profiles is saved or if data for all profiles is saved.

Example

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

[Visual Basic]
XYChartNETCtl1.SaveChartDataToClipboard()  'Save data to clipboard using default parameter values

[C#]
XYChartNETCtl1.SaveChartDataToClipboard(",", false);  //Save data to clipboard 

[C++]
XYChartNETCtl1->SaveChartDataToClipboard(",", false);  //Save data to clipboard 

See Also

Methods | SaveChartDataToFile