Syntax
Public Function ObjectGetTimeByPoint(chart_ID As Long, Name As String ,Point As Integer)As String
Description
This function is used to return the time value of the specified object by a given the point.
Parameters
Key | Description |
chart_ID | Chart identifier, 0 mean the current chart, the value of type Long. |
Name | Object name key, the value of type String. |
Point | Point value can be 1, 2 or 3 base on object points. |
Return value
Returns a time value, otherwise returns an empty string. To read more about the error call GetLastError() function.
Sample
Public Sub main () AlertMessage ObjectGetTimeByPoint (0,"ObjectName ", 1)End sub
See Also