Syntax
Public Function ChartScreenShot(chart_id As Long, FileName As String) As Boolean
Description
This function is used to take a snapshot of the specified chart with a specific name.
Parameters
Key | Description |
chart_id | Chart ID.0 is the current chart, value of type Long. |
FileName | Name of snapshot photo, value of type String. |
Return value
Returns true if successful, otherwise returns false,In order to get an error , callGetLastError()function.
Note: you can take the screenshot from application path.
See Also