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


Public Function SetPricelabel(chart_Id As Long, name As String, prop_Id As ENUM_PRICE_LABEL, prop_value As Variant) As Boolean


This function is used to set the property such as font size, position, font color ..etc for price label object by given the property id value.


Key Description
chart_Id Chart identifier. 0 mean the current chart, the value of type Long.
name Object key, the value of type String.
prop_Id The property value that wants to change the label object according to it, the value of type  ENUM_PRICE_LABEL.
prop_value The value of the property Id, the value of type Variant.

Return value

Returns true if the property set to the label object. Otherwise, it returns false. In order to get an error , call GetLastError() function.


 Public Sub main ()

 AlertMessage AddPriceLabel(0, 0, 0.79654,"PriceLabel")

 AlertMessage SetPriceLabel(0," PriceLabel", PRICE_LABEL_FONT_SIZE, 14)
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