PDA

View Full Version : سوال: چطورمیتونم محتویات pictureBox رو ذخیره کنم؟



iman-63
دوشنبه 28 اردیبهشت 1388, 23:44 عصر
سلام
من کد زیر رو نوشتم:
Graphics Graph;
Graph = pictureBox1.CreateGraphics();
Font font1 = new System.Drawing.Font("nazanin", 30, FontStyle.Bold);
Graph.DrawString("TEST", font1, System.Drawing.Brushes.Blue, 30, 30);

حالا چطور میتونم این محتویات pictureBox1 رو با فرمت bmp یا jpg ویا .... ذخیره کنم.