SaveData
- Last UpdatedNov 25, 2021
- 1 minute read
The SaveData method optionally prompts the runtime user and saves the trend data (in the "wide" format) or image to a file or to the clipboard.
Syntax
[Result=] aaHistClientTrend.SaveData(integer format, message fileName);
Parameters
format
The type of output:
|
0 |
Saves trend data in tab-delimited format using the file name specified in the fileName parameter. |
|
1 |
Copies the trend image to the clipboard. |
|
2 |
Copies the trend image to the clipboard. (Legacy option) |
|
3 |
Saves the trend image in JPEG format using the file name specified in the fileName parameter. |
|
100 |
Opens the Save dialog box to save the trend data in CSV or tab-delimited format. |
fileName
The name of the file.
Return Value
Returns True if the operation was successful; otherwise, returns False.