TypeScript
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 ChandRank #1 · 393K pointsPosted Jul 27, 2010, 6:13 AM EDT
Printing Text in GDI+
Word Processing with an Extended Rich Text Box Control
Notepad.NET - Printing a multiline textbox in C# and .NET