FormattedTextArea Supporting CMYK Color

FormattedTextArea Supporting CMYK Color

Forum member · Dec 6, 2006
Hi, Is there a way to add a CMYK color to the FormattedTextArea text content with the font tag. E.g.: Sample <font color="CMYKCOLOR">Text</font> Thanks Murali

Re: FormattedTextArea Supporting CMYK Color

Support · Dec 6, 2006
Hello Murali, Yes, it is possible to use the CMYK color in the FormattedTextArea without any problem. Following is the sample code to use CMYK color in a FormattedTextArea. string formattedString = "Hello <font color='cmyk(0.1,0.8,0.2,0.5)'>World</font>"; FormattedTextArea area = new FormattedTextArea(formattedString,20,20,200,200,FontFamily.Helvetica,12,false); Thanks, ceTe Software Support Team.

Re: FormattedTextArea Supporting CMYK Color

Forum member · Dec 7, 2006
Thanks for the quick reply, that should solve most of our issues.