| | |
Printing multiline textbox content with PDFSharp
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2008
Posts: 8
Reputation:
Solved Threads: 0
Hey!
I'm having a problem with printing the content of a multiline textbox in a PDF document created with PDFSharp. I've searched on their site but there's nothing there.
The user of my program is able to enter text in a multiline textbox that will be shown in either a pdf document or on a printed page.
When text is entered (more than one line) in the textbox and then shown in the PDF everything is on one line. Instead of writing the second line of the text box on a new row it writes it on the same line, just separated by a tab.Kinda hard to explain in english for me but by hitting "Enter" a tab is created instead of a new line.
I'm doing the exact same thing but with printprieview and every thing works perfect.
Does anybody have any ideas of what could be done to solve this problem??
Thanks in advance!
//Andreas
I'm having a problem with printing the content of a multiline textbox in a PDF document created with PDFSharp. I've searched on their site but there's nothing there.
The user of my program is able to enter text in a multiline textbox that will be shown in either a pdf document or on a printed page.
When text is entered (more than one line) in the textbox and then shown in the PDF everything is on one line. Instead of writing the second line of the text box on a new row it writes it on the same line, just separated by a tab.Kinda hard to explain in english for me but by hitting "Enter" a tab is created instead of a new line.
I'm doing the exact same thing but with printprieview and every thing works perfect.
Does anybody have any ideas of what could be done to solve this problem??
Thanks in advance!
//Andreas
![]() |
Other Threads in the C# Forum
- Previous Thread: format string vulnerability exploitation
- Next Thread: comparing strings and string arrays
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# cast check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener mailmerge mandelbrot math mouseclick mysql operator path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox robot save saving serialization server sleep socket sockets sql sql-server statistics stream string stringformatting table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





