Free Support Forum - aspose.com

Preserving CR/LF's in Form Fields

If I have carriage returns and line feeds contained within a String object, are they preserved when the PDF form field is filled? If not, could you add support for this?

For example:

“This\nis\nfour\nlines” should render:

This
is
four
lines

Thanks, Natan.

Dear Natan,

Set the property of the text field as “Multi-Line” in the “Option” tab of the “Properties” in Adobe Professional “Advanced Editing”.
Then the multi-line text will be rendered.

Best regards.