TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

SetTextColor

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > 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