Windows Develop Bookmark and Share   
 index > Windows Forms General > Priniting
 

Priniting

How would I print the text in a textbox using a print dialog?

Also how would I get the text in a textbox to show up in a print preview dialog?

Thank You!

thegodfather9210  Monday, September 04, 2006 9:28 PM
This is off topic for the Visual Basic General forum, moving to the Windows Forms General forum.
Peter Ritchie  Monday, September 04, 2006 9:29 PM
Wang Chi  Tuesday, September 05, 2006 3:19 AM

Hi,

PrintDocument class is used to print something. Refer to this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingprintingprintdocumentclasstopic.asp 

And PreviewPrintController can be used to preview.

 

gqlu  Tuesday, September 05, 2006 5:54 AM

You can use google to search for other answers

Custom Search

More Threads

• Add a bitmap to a richtextbox.
• large byte[] array copying and placing text inside a TextBox control.
• Tab control color
• Font changes between client and my computer
• Child Form Location Problem
• System Information
• Accessible Event/Mouse Hook stop working after scrolling
• window handle errors for specific control
• Custom control creation problem
• Appbar not working when "RunAs" administrator