How do I change the fill color of text component?
I've tried something like this:
Text1.Fill = Color.Black;
Text2.Fill = Color.White;
Manual is no help either.
It gives out the following error:
Error CS0029: Cannot implicitly convert type 'System.Drawing.Color' to 'FastReport.FillBase'
(39,39): Error CS0117: 'System.Drawing.Color' does not contain a definition for 'white'
(43,28): Error CS0029: Cannot implicitly convert type 'System.Drawing.Color' to 'FastReport.FillBase'
Thanks in advance!
Try:
Text1.FillColor = Color.Black;
if "Text1" is a TextObject, this should work.