SetColour()

Example 1:

To set the colour of the Text object named Intro to blue, use the following syntax:

NewColour = RGB(0,0,255)
Intro.SetColour(NewColour)

Example 2:

To set the colour of the Text object named Intro by entering the red, green and blue values directly in the SetColour function, use the following syntax:

Intro.SetColour(255,255,0)
// the text colour will be set to yellow

 

see also:RGB

Close