PdfTextBoxField and linebreak/newline

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


1 Reply

GM Geetha M Syncfusion Team 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:

F988431583833252.zip

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

Regards
Geetha


Loader.
Up arrow icon