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

Free Support Forum - aspose.com

Break Lines

Hey


I need to put in a paragraph this this text:

Hello
World

but I get this error Can’t assign String which contains paragraph break character, so i dont know how to fix it, because both words must be in two different lines!!!

Thanks you!

Hi Alex,


You need to use soft enter while adding paragraph text in presentation. Actually, whenever there is a carriage return or line break in text, the new paragraph will start. However, using Soft Enter while adding paragraph text will resolve the issue. Please use the following format for entering text. Please also visit this thread link as well.

AutoShapeEx.addTextFrame(“Hello \u000b World”);

Many Thanks,