Knowledgebase:
objectTotal
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 03:06 PM

 Syntax

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

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

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart,value of type Long.
typeObj The object type that want to know the total number for it,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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
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