Bitmap bmp = new Bitmap(pictureBox1.Image);//加载位图 pictureBox1.Image
Graphics g = Graphics.FromImage(bmp);
Font font = new Font("Tahoma", 25, FontStyle.Bold);//设置字体
SolidBrush sbrush = new SolidBrush(Color.White);//字体颜色
g.DrawString(globaldata.relative_height, font, sbrush, 430, 301);//在相应位置写字globaldata.relative_height