private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
{
e.Graphics.DrawString(richTextBox1.Text, richTextBox1.Font, new SolidBrush(richTextBox1.ForeColor), new Point(50, 50));
}
But in this code only text is printing... How to set print page to print both image & text
Thanx
Mahesh ChandPosted Jul 27, 2010, 10:13 AM
Printing Text in GDI+
Word Processing with an Extended Rich Text Box Control
Notepad.NET - Printing a multiline textbox in C# and .NET