<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Label > Method >SetTextColor |
Sets the color of a text.
Prototype :
void SetTextColor
(
string TextColor
)
Arguments :
TextColor |
specify by hexa or decimal RGB value in the form of "#hhhhhh" or "ddd, ddd, ddd" |
Example :
This.SetTextColor("#FF0000"); //Red
This.SetTextColor("255, 0, 0"); //Red
Available Events :
OnAddToPage, OnBind, OnEndBind, OnInitialize, OnStartBind