XY Chart NET 3 Control Reference
SaveAnnotationsToFile Method

Use this method to save the properties of each Annotation to a specified file.

Syntax
[Visual Basic]
Sub SaveAnnotationsToFile(PathAndFilename As String, [strDelimiter As String = vbTab], [bVisibleAnnotationsOnly As Boolean = False])
[C#]
void SaveAnnotationsToFile(String PathAndFilename, String strDelimiter, bool bVisibleAnnotationsOnly)
[C++]
void SaveAnnotationsToFile(System::String ^PathAndFilename, System::String ^strDelimiter, bool bVisibleAnnotationsOnly)
       
Parameters
PathAndFilename
Name of the file to save the properties of each Annotation to.
strDelimiter
String used to delimit the properties.  
bVisibleAnnotationsOnly
Indicates if the properties for only visible Annotations are saved.
Remarks
The file can be viewed immediately in MS Excel or any other spreadsheet program.
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

XYChartNETCtl1.SaveAnnotationsToFile("c:\annotations.txt")  'Save Annotations to file
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

XYChartNETCtl1.SaveAnnotationsToFile("c:\\annotations.txt", ",", false);  //Save Annotations to file
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

XYChartNETCtl1->SaveAnnotationsToFile("c:\\annotations.txt", ",", false);  //Save Annotations to file
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.