ObjectLabelMove
Posted by Mohammad Rahhal, Last modified by Fouad Faraj Allah on 04 July 2019 02:26 PM

Syntax

Public Function ObjectLabelMove(chart_Id As Long, name As String, XPos As Integer, YPos As Integer) As Boolean

Description

This function is used to move a label object in the chart by a given the coordinates.

Parameters

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

Return value

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

Sample

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))
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