This project has moved. For the latest updates, please go here.

How to Get Rid of Extra New Line in DOCX

Oct 9, 2016 at 11:35 PM
This is my program window... The box in questions is the one labeled "INVESTIGATION" and "DISPOSITION".

When text is entered into the multiline textbox it is output in the DOCX file and it adds extra new lines... If a line is entered right below the original line it is a single extra new line. If it is spaced by one line it adds in two new lines. I figure it is something with the textbox properties or the output argument not playing well with the string. I have included pictures of the Form as it looks to the user. The builder code. The word document which shows the problem and the textbox properties. I want new lines in the investigation and disposition textbox to display how they are in the GUI and not have the extra new line. Any pointers?

Image
Image
Image
Image
Dec 23, 2016 at 7:37 AM
I work for a security company and I am still struggling with this issue. I've tried a few different things and I'd be very grateful for any direction.