One of the features my ScreenDriver class has is the ability to write text on both corners of a line.
This is the following code that I wrote:
Align text to right side of screen
This is the following code that I wrote:
Code:
public string AlignToRight(string textOnLeft, string textOnRight)
{
int txtLeftSize = CalcTextWidth(textOnLeft);
int txtRightSize = CalcTextWidth(textOnRight);
int ratio = 0;
int divLeftOver = 0;
bool wide =...