|
#1
|
|||
|
|||
|
word wrap - multiline textbox to printer
I need help trying to print a single multiline textbox onto a sheet of plain paper. I can print the textbox to the paper and it prints fine as a single line. The problem is when I go into properties and set the textbox for multiline and I hit the green run button at the top of the page. The textbox picks up the data from the database fine and the multilined textbox on the screen works fine each word goes to a new line. It is just when I go to print.document the text only comes out in a single line on the plain paper. I want each word to print on a new line on the plain paper. what is the easist way to word wrap this text within the textbox to the printer. What code ideas do you have that I may try. I am using VB.NET 2008.
|
|
#2
|
|||
|
|||
|
Are you using windows or a web application.
|
|
#3
|
||||
|
||||
|
Are you using the Print Document control?
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section. ![]() Please use [Code]your code goes in here[/Code] tags when posting code. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista ![]() Microsoft MVP 2005/2006/2007/2008/2009 |
|
#4
|
|||
|
|||
|
word wrap - multiline textbox to printer
I am creating a windows application.
I am using the printdocument control. |
|
#5
|
|||
|
|||
|
multiline textbox to printdocument
I need help trying to print a single multiline textbox onto a sheet of plain paper. I can print the textbox to the paper and it prints fine as a single line. The problem is when I go into properties and set the textbox for multiline and I hit the green run button at the top of the page. The textbox picks up the data from the database fine and the multilined textbox on the screen works fine each word goes to a new line. It is just when I go to print.document the text only comes out in a single line on the plain paper. I want each word to print on a new line on the plain paper. what is the easist way to word wrap this text within the textbox to the printer. What code ideas do you have that I may try.
I am using VB.NET 2008. I am creating a windows application. I am using the printdocument control. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multiline textbox | AngelSoft | .NET | 7 | 11-05-2008 07:56 AM |
| Search for strings in multiline textbox | sam510 | VB Classic | 1 | 12-17-2007 07:54 AM |
| Multiline textbox, scrolling to a Line and editing Line | guptan | .NET | 1 | 07-07-2006 06:37 AM |
| Rich text box word wrap! | GermanD | VB Classic | 10 | 05-25-2005 02:44 PM |