Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1833
Brush color...
posted

I would like to set a colour using hex or rgb values for font colour at run time. I see that I can set predefined colour via Infragistics.Documents.Graphics.Brushes.[predefined colour] yet this isn't quite flexible enough.
Is there any way of doing this or is it simply a limitation?

Thanks

  • 37774
    Verified Answer
    posted

    You should use the Infragistics.Documents.Graphics.SolidColorBrush class in this case, and you could create your own color object to pass into the brush which you can then set on the font.

    -Matt