This is a pretty simple question but I can't find the answer
I have this code:
DrawTextFixed("TL",""
+" Session Open" +open.ToString("F2").PadLeft(15) +"\n"
+" Session High" +hi.ToString("F2").PadLeft(16) +"\n"
+" Session Low" +lo.ToString("F2").PadLeft(17) +"\n"
,TextPosition.TopLeft);
.PadLeft leaves the charachters just slightly mis-aligned, maybe due to the font particulars of the font (?)
I would like to right justify the output - within whatever context DrawTextFixed uses to determine the right edge of the output.
Is there a way to do this?
Thanks
Comment