现在有个 PictureBox 里面显示着许多张图片  现在如何在图片上添加 我想要的信息 例如:姓名: XXXX  床号:XX
请做过的朋友提点思路 或者有代码提供最好了!! 

解决方案 »

  1.   


    先把你要写的文字写在图片上:
    http://blog.csdn.net/gztoby/archive/2004/08/24/83334.aspx然后把图片放到pictureBox里面:
    http://wenwen.soso.com/z/q109039928.htm
      

  2.   

    http://topic.csdn.net/u/20100525/10/e08abc08-4135-4f5c-acca-28425c114689.html
      

  3.   

    图片每次加载时把文字写上去,就是添加文字水印
      string path = @"F:\ceshi.jpg";
                System.Drawing.Image image = System.Drawing.Image.FromFile(path);            Graphics g = Graphics.FromImage(image);            g.DrawImage(image, 0, 0, image.Width, image.Height);//文字显示位置            Font f = new Font("幼圆", 8, FontStyle.Bold);//字体样式            Brush b = new SolidBrush(Color.White);             string addText = "ssssss";  //要显示的文字            g.DrawString(addText, f, b, 100, 30);            g.Dispose();
                this.pictureBox2.Image = image;
      

  4.   

    房态图效果
    否则就是用onpaint中绘制图片,实现水印
    private void pictureBox1_Paint(object sender, PaintEventArgs e)
    {
        Graphics a = e.Graphics;
    }