private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { //Bitmap bmp = Properties.Resources.student_id_final_front1; //Image newImage = bmp; ////repeat for displays //e.Graphics.DrawImage(newImage, 25, 25, newImage.Width, newImage.Height); e.Graphics.DrawString("English Name: " + textBox2.Text, new Font("Times New Roman", 12, FontStyle.Regular), Brushes.Black, new Point(80, 80)); e.Graphics.DrawImage(pbfront.Image, new Point(0, 0)); e.Graphics.DrawImage(pbback.Image, new Point(180, 0)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)