解决方案 »

  1.   

    e.Graphics.DrawString(showText.Caption, getFont(), SbFont,矩形.Size, rectFont,GetFormat());
      
    *****************************************************************************
    签名档: http://feiyun0112.cnblogs.com/
      

  2.   

    Quote: 引用 1 楼 feiyun0112 的回复:

    e.Graphics.DrawString(showText.Caption, getFont(), SbFont,矩形.Size, rectFont,GetFormat());
      
    *****************************************************************************
    没有这个加载方法,要不就是x,y画图的起始坐标,要不就是矩形区域。矩形.size,和矩形同时用,错的。
      

  3.   


    e.Graphics.DrawString(showText.Caption, getFont(), SbFont, rectFont,GetFormat());我这个方法用的就是矩形的,问题不再这,问题是字体换了垂直居中有偏差。