Syntax
Public Function ObjectGet(chart_ID As Long, name As String, prop_Id As Integer)As Variant
Description
This function is used to getthe values of the specified object property by a given objectname.
Parameters
Key | Description |
chart_index | Chart identifier, 0 mean the current chart, the value of type Long |
Name | Object name to get the property value for it, the value of Type String. |
prop_Id | The value can be ENUM_OBJECT_PROPERTY. |
Return value
Returns an object property value according to prop_Id value.
Sample
Public Sub main() Dim objID objID="Text1" AddObject Clng(0), CSTR(objID), OBJ_TEXT, Cint(0), "16/03/2013 00:00:00", 3.49672 Objectset Clng(0),Cstr(objID), 2 ,Cstr(Text) AlertMessage(Objectget (Clng(0),Cstr(objID),2 ))End Sub
See Also