Knowledgebase:
SetPricelabel
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 02:15 PM

Syntax

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.

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart,value of type Long.
name Object key,value of type String.
prop_Id The property value that want to change the label object according to it, value of type  ENUM_PRICE_LABEL.
prop_value The value of the property Id,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.

Sample

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