private PrintPoint GetPrintPoint(XmlElement el)
 {
     PrintPoint pp = new PrintPoint();
     pp.FontName = el.Attributes["FontName"].InnerText;
     pp.FontSize = float.Parse(el.Attributes["FontSize"].InnerText);
     pp.X = float.Parse(el.Attributes["X"].InnerText);
     pp.Y = float.Parse(el.Attributes["Y"].InnerText);
     pp.Key = el.Attributes["Key"].InnerText;
     return pp;
 }
 private void DrawString(PrintPoint pp, Graphics g)
 {
     Font drawFont = new Font(pp.FontName, pp.FontSize);
     Brush drawBrush = new SolidBrush(Color.Black);
     //StringFormat drawFormat = new StringFormat();
     g.DrawString(pp.Value, drawFont, drawBrush, pp.X, pp.Y);
 }