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.
Unfortunately, activation email could not send to your email. Please try again.

newline character

Thread ID:

Created:

Updated:

Platform:

Replies:

95614 Jul 21,2010 09:58 AM Jul 22,2010 04:36 AM ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Theo
Asked On July 21, 2010 09:58 AM

hello,

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

Hello
World

any idea/suggestions?

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

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:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=95614678161990.zip

Images Link:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=images1257410742.zip

Please let us know if you have any queries.

Regards,
Angappan.

CONFIRMATION

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.

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.

;