Have a multi-line textbox that is ignoring the newline character when it’s value its short. If the first character is a space, then it works correctly.
// text that starts with a newline and is less than eight characters ignores the newline
TextBoxField textBoxField1 = pdfDocument.Form[“COMPANY1”] as TextBoxField;
textBoxField1.Value = Environment.NewLine + “Walmart”;
textBoxField1.Flatten();
TextBoxField textBoxField2 = pdfDocument.Form[“COMPANY2”] as TextBoxField;
textBoxField2.Value = " " + Environment.NewLine + “Walmart”;
textBoxField2.Flatten();
AsposeTest1.zip (5.3 KB)