static void DrawTestString (Graphics g, GraphicsUnit unit)
{
g.PageUnit = unit;
float left = 50;
float top = 50;
float height = 10;
g.DrawLine (Pens.Black, left, top, left, top + height);
g.DrawLine (Pens.Black, left, top + height, left + height, top + height);
Font font = new Font ("Arial", height, unit);
g.DrawString ("Xyz| unit: " + unit.ToString (), font, Brushes.Black, left, top);
}
}