We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Line break for multi-line textbox?

Hi,


How can I force a line break in a multi-line text field via the Form.FillField method?

Thank you.

Hi Phil,

You can add line break in a multi-line text field using FillField method as shown below:


form.FillField(“MultiLineField”, “Line1\r\nLine2”)

Please use the latest version (5.8.0) to work this code properly.

I hope this helps. If you find any further questions, please do let us know.
Regards,

Great, thanks.