1,wrting text file
2,show text file in the print preview
3,print the same file
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Dec 12, 2009, 12:31 PM
Step 1. To write to a text file, here is an article:
Step 2. To view a text file, you open a new window and use RichTextBox control to view the file. Make it read-only so it will be more like a preview mode. Here is an article:
Syntax Highlighting in Rich TextBox Control - Part 1
Step 3. Print a text file:
Printing in C# and .NET
SreekanthPosted Dec 11, 2009, 11:50 PM
Hiren SoniPosted Dec 8, 2009, 8:32 AM