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

PdfTextBoxField and linebreak/newline

Thread ID:





98843 Apr 5,2011 12:26 AM UTC Apr 5,2011 07:38 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Asked On April 5, 2011 12:26 AM UTC

Hi all,

I was wondering whether or not it is possible to enter a default string into PdfTextBoxField.Text with a linebreak. Something like:

string defaultText = "line 1" + Environment.NewLine + "line 2";
var textbox = new PdfTextBoxField(page, "fieldName");
textbox.Text = defaultText;

Above did not work for me. Am I missing something?


Geetha M [Syncfusion]
Replied On April 5, 2011 07:38 AM UTC

Hi Huey,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the problem. I have placed the test sample in the following link:


Could you please try running it and if you still see the problem, modify it and send back to me?



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