Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 14 January 2019 12:41 PM


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.


Key Description
chart_Id Chart identifier. 0 mean the current chart,value of type Long.
XPos X coordinate point,value of type Integer.
YPos Y coordinate point,value of type Integer.

Return value

Returns true if successful. Otherwise, it returns false. To get the detailed error information, call GetlastError() function.


 Public Sub main () 
 Dim XPos
 Dim YPos
 XPos = 10
 Ypos = 20
 AlertMessage ObjectLabelMove (0,"ObjectName ",Cint(XPos),Cint(Ypos))
 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