C# Tips


PictureBoxに文字を出力するには


PictureBoxに文字を出力するには、GraphicsクラスのDrawStringメソッドを使用します。
graphics.DrawString("Text Here", new Font("Times New Roman", 9, FontStyle.Bold), Brushes.Black, 0, 0);

graphics.DrawImage(pictureBox1.Image, 0, 0);


目次に戻る
Copyright(c) 2008 WoodenSoldier Software