Line Breaks in Table Cells

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v5)  /  Line Breaks in Table Cells

DynamicPDF CoreSuite for .NET (v5) Forum

 Nov 19 2008 10:50 AM
I am creating an on demand PDF version of a web page with a report table.

I am running into a problem because my report has line breaks within the table cells using a <BR> html code. When I create the table using Generator, it shows that text as <BR> and does not recognize the line break.

Is there any line break character that this product will recognize inside a text value?

I see a text control for breaking lines, but I can't figure out how to get it into a cell as the cell simplay has a text value.
 Nov 19 2008 11:02 AM
Posted by a ceTe Software moderator
Hello,

The <BR> tag is not supported to use in the cell of a table. It will be displayed as normal text. In order to get a new line you will have to use a new line character ("\n") in the string.

Thanks,
ceTe Software Support Team.
 Nov 19 2008 11:04 AM
You rock. Thanks much.
 Mar 28 2018 5:31 AM
the "\n" does not work
 Mar 30 2018 12:53 PM
Posted by a ceTe Software moderator
Hello,

Can you please send over the following details to support@cete.com so  we can look into it further?

1.     Code sample which uses static data to recreate the behaviour.
2.     Output PDF.
3.     Exact version and build number of the DynamicPDF DLL file. You can get this information in DLL references properties (Version and Description fields) in Visual Studio.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 11:17 AM.