I want to generate a jpg or bmp file with numbers like that:

I generate the numbers and I have them in an array.
This pic is a screenshot I made from the form (The numbers
are in Textboxes). The problem is: I have to print the numbers
on a card, and with a screenshot the resolution is not good
enough. Any ideas?? Thanks in advance. Dom
Mahesh ChandPosted Jun 4, 2010, 10:19 PM
DominikPosted Jun 4, 2010, 5:54 PM
DominikPosted Jun 4, 2010, 5:21 PM
I resolved it by myself.
First I made an empty bmp file (with Paint) called "template.bmp" (900x450 pixel). Then I made a new project ccardprint...
Hope this helps anybody. I can write more comments if anybody wants to...
Greetings, Dom
DominikPosted May 31, 2010, 4:42 PM
yes, I can write those numbers on the screen. Thank you, but my problem is:
I want to save this now to a *.jpg file or a *.bmp file. But not a screenshot,
because a screenshot has only a low resolution (72 dpi). I need at least
150 dpi to print the *.jpg or *.bmp file..
Kirtan PatelPosted May 31, 2010, 4:34 PM
sample of drawing string is below by which you can write "hello" on the form you can also draw numbers on the screen
private void button1_Click(object sender, EventArgs e)
{
Graphics g = this.CreateGraphics();
g.DrawString("Hello", this.Font, new SolidBrush(Color.Red), new PointF(20, 20));
}