Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > Object Functions
SYNTAX Public Function ObjectGetPointByValue(chart_index As Integer, name As String, value As Double) As Integer This function is used to object point which has the specific price value. PARAMETERS Key Description  chart_index Chart i...
SYNTAX Public Function ObjectGet(chart_ID As Long, name As String, prop_Id As Integer)As Variant This function is used to get the values of the specified object property by a given object name . PARAMETERS Key Description  chart_index ...
SYNTAX Public Function ObjectSet(chart_id As Long, name As String, prop_Id As Integer, prop_Value As Variant)As Boolean This function is used to change the values of the specified object property by a given the property id and it's value. PARAMETERS...
SYNTAX Public Function ObjectGetValueByPoint(chart_ID As Long, Name As String, point As Integer)As Double This function is used to return the prices value of the specified object by a given the object point. PARAMETERS Key Description  c...
SYNTAX Public Function ObjectGetTimeByPoint(chart_ID As Long, Name As String ,Point As Integer)As String This function is used to return the time value of the specified object by a given the point. PARAMETERS Key Description  chart_ID  ...
SYNTAX Public Function ObjectSeriesSetValue(chart_ID As Long, SeriesName As String, recordNumber As Long, NewValue As Double)As Boolean This function is used to set the value for specific series in the chart. PARAMETERS Key Description  ...
SYNTAX Public Function ObjectSeriesGetValue(chart_ID As Long, SeriesName As String, recordNumber As Long, ByRef Value As Variant)As Boolean This function is used to get the value of specific series in the chart by a given the series name. PARAMETERS...
SYNTAX Public Function ObjectType(chart_Id As Long, name As String) As Integer This function is used to return one of the ENUM_OBJECT [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2610] value as the object type value b...
SYNTAX Public Function ObjectMove(chart_Id As Long, name As String, point As Integer, time1 As String, Price1 As Double) As Boolean This function is used to move an object in the chart by a given the coordinates PARAMETERS Key Description ...
SYNTAX Public Function ObjectLabelMove(chart_Id As Long, name As String, XPos As Integer, YPos As Integer) As Boolean This function is used to move a label object in the chart by a given the coordinates. PARAMETERS Key Description chart_...
 SYNTAX Public Function objectTotal(chart_Id As Long, typeObj As ENUM_OBJECT [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2610]) As Integer This function Returns the total number of specific object in the chart by a g...
SYNTAX Public Function objectFind(chart_Id As Long, name As String) As Integer This function is used to return object ID by a given object name on the chart. PARAMETERS Key Description chart_Id Chart identifier. 0 mean the current cha...
SYNTAX Public Function ObjectDeleteAll(chart_Id As Long) As Boolean This function removes all objects from the specified chart. PARAMETERS Key Description chart_Id Chart identifier. 0 mean the current chart ,value of type Long. RETUR...
SYNTAX Public Function ObjectDelete(chart_Id As Long, name As String) As Boolean This function is used to remove the object from the specified chart by a given object name. PARAMETERS Key Description chart_Id Chart identifier. 0 mean ...
SYNTAX Public Function ObjectName(chart_Id As Long, pos As Integer) As String This function returns the name of the object by a given it ordinal in the specified chart. PARAMETERS Key Description chart_Id Chart identifier. 0 mean the ...
SYNTAX Public Function DeletePriceLabel(chart_Id As Long, name As String) As Boolean This function deletes the price label object by a given object  name. PARAMETERS Key Description chart_Id Chart identifier. 0 mean the current chart,...
SYNTAX Public Function SetPricelabel(chart_Id As Long, name As String, prop_Id As ENUM_PRICE_LABEL [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2609], prop_value As Variant) As Boolean This function is used to set the...
SYNTAX Public Function ObjectSetText(chartID As Long, name As String, font_Size As Integer, Optional font As String = "", Optional text_color As Long = 0) As Boolean This function is used to change the text property for the text object and label objec...
SYNTAX Public Function CreateObjectLabel(chart_ID As Long, nwin As Long, name As String, XPos As Long, YPos As Long, text As String) As Boolean This function is used to create label object on the chart at specific position. PARAMETERS Key De...
SYNTAX Public Function AddPricelabel(chart_Id As Long, nwin As Long, price As Double, name As String) As Boolean This function is used to create a price label object at specified price coordinate. PARAMETERS Key Description chart_Id C...
SYNTAX Public Function ObjectBitMap(chart_ID As Long, win As Long, name As String, price1 As Double, time1 As String, fileName As String, text As String) As Boolean This function is used to add Bit map photo to chart with the specified name. PARAMET...
SYNTAX Public Function AddObject (chart_id As Long, name As String, objType As ENUM_OBJECT [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/2610], nwin As Long, time1 As String, price1 As Double, Optional time2 As String = ...
Help Desk Software by Hybrid Solutions