string HighFillColor = "Color.LightGray";
However I get a compile error using this variable in my DrawRegion:
DrawRegion(FillCounter.ToString()+"FillTag",HighCounter,0,ROCPlot,HighLineValue[0],HighFillColor,HighFillColor,3);
I have tried setting HighFillColor to just "LightGray" and that doesn't complie.
I have also tried System.Drawing.Color(HighFillColor) and that didn't work either.
What is the correct syntax for setting a color using a variable in DrawRegion?
Thanks.
Comment