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.

PdfTextBoxField and linebreak/newline

Thread ID:

Created:

Updated:

Platform:

Replies:

98843 Apr 4,2011 08:26 PM Apr 5,2011 03:38 AM ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Huey
Asked On April 4, 2011 08:26 PM

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?

Thanks,
Huey


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

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:

F988431583833252.zip

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

Regards
Geetha


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.

;