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

Free Support Forum - aspose.com

Add a new line into a bookmark

Hi, I would like to add a new line into a book, this is for formatting an address so the next item goes onto a new line.

How would you do this?


This message was posted using Aspose.Live 2 Forum


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Please try using the following code:

Document doc = new Document("in.doc");

DocumentBuilder builder = new DocumentBuilder(doc);


builder.Writeln("First Line \n Second Line");

// Save output document.


Please let me know if you need more information, I will be glad to help you.

Best regards,

great thanks