I want to generate a RgbColor object from a String like "Red" which signifies a Red Color. Is there any way to Convert this string to a RgbColor object.
RgbColor from String value
Re: RgbColor from String value
Support · Aug 3, 2009Hello,
It is not possible to convert a string into a color object. However you can do this by checking the string you have and create the color according to it. Ex: If the string equals to "Red" then use the Red color form RdgColor class (RgbColor.Red).
Thanks,
ceTe Software Support Team.