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

Syntax

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.

Parameters

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.

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