Skip to main content
BRODZELi
Participating Frequently
November 28, 2019
Answered

Hot To change Text Color

  • November 28, 2019
  • 1 reply
  • 516 views

How can I change the color of active texts?

 

Unfortunately obj.fillColor = (Not working)

This topic has been closed for replies.
Correct answer CarlosCanto

TextFrame items don't have fillColor properties. You have to apply color through CharacterAttributes

 

obj.textRange.characterAttributes.fillColor = yourColor;

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
December 1, 2019

TextFrame items don't have fillColor properties. You have to apply color through CharacterAttributes

 

obj.textRange.characterAttributes.fillColor = yourColor;