Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 01:08 PM


Public Function objectTotal(chart_Id As Long, typeObj As ENUM_OBJECT) As Integer


This function Returns the total number of a specific object in the chart by a given object type.


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.


 Public Sub main ()

 AlertMessage ObjectTotal (0, OBJ_RECTANGLE) 
End sub

See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions