I would need a little help with the method DrawTextFixed.
Is there a way to have a nice display meaning each line ending at the same pixel...
Here is what I am trying to display :
result = String.Concat(result, Environment.NewLine, Environment.NewLine, "Position : "+position); result = String.Concat(result, Environment.NewLine, "Stop Loss : "+StopPrice.ToString(FS)); result = String.Concat(result, Environment.NewLine, "Contract Risk : "+contractRisk.ToString("c")); result = String.Concat(result, Environment.NewLine, "Total Risk : "+totalRisk.ToString("c")); result = String.Concat(result, Environment.NewLine, "RISK REWARD RATIO : "+Math.Round(rrRatio,2).ToString()); DrawTextFixed("result", result, TextPosition.TopLeft, Color.Black, f, Color.Black, Color.White,10);
Is there another way than playing with spaces trying to make them fit.
Thanks
Comment