We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

newline character

Thread ID:





95614 Jul 21,2010 01:58 PM UTC Jul 22,2010 08:36 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Asked On July 21, 2010 01:58 PM UTC


what is the newline character in a pdf.

when I draw a string lets say "Hello \n World \n"
it draw it properly.

But if the string is pulled from a localization resx file, it doesnt process the newline characters when drawing and you see

Hello \n World \n

instead of


any idea/suggestions?

Angappan G [Syncfusion]
Replied On July 22, 2010 08:36 AM UTC

Hi Theo,

Thank you for your interest in Essential Studio.

We have found that the string returned by the resource file considers the newline characters as part of the string and they were adding the escape sequences to preserve them as it is but that is not the case in the locally defined string, that is the reason for this behavior. I have attached a simple sample to illustrate this and the snapshot of the string values for your reference.

Sample Link:

Images Link:

Please let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon