Syntax
Public Function objectTotal(chart_Id As Long, typeObj As ENUM_OBJECT) As Integer
Description
This function Returns the total number of a specificobject in the chart by a given object type.
Parameters
Key | Description |
chart_Id | Chart identifier. 0 mean the current chart, the value of type Long. |
typeObj | The object type that wants to know the total number for it, the value of type Enum Object. |
Return value
Returns the number of object.
Sample
Public Sub main () AlertMessage ObjectTotal (0, OBJ_RECTANGLE) End sub
See Also