Printing multiline textbox content with PDFSharp

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 8
Reputation: lorentz is an unknown quantity at this point 
Solved Threads: 0
lorentz lorentz is offline Offline
Newbie Poster

Printing multiline textbox content with PDFSharp

 
0
  #1
Jun 13th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 9
Reputation: sweetyssweeto is an unknown quantity at this point 
Solved Threads: 1
sweetyssweeto sweetyssweeto is offline Offline
Newbie Poster

Re: Printing multiline textbox content with PDFSharp

 
0
  #2
Jun 16th, 2008
I guess only the guys from PDFSharp can help you out. Its thier API and they know how are they adding the text in the PDF. By the way the i also deal with PDF. The library i use is iText. Try using this librray.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 8
Reputation: lorentz is an unknown quantity at this point 
Solved Threads: 0
lorentz lorentz is offline Offline
Newbie Poster

Re: Printing multiline textbox content with PDFSharp

 
0
  #3
Jun 16th, 2008
Ok, thanks!

The project is due this wednesday so I don't know if there's time to change to iText but thanks anyway!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC