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?
Thanks
This message was posted using Aspose.Live 2 Forum
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?
Thanks
Hi
<?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.MoveToBookmark("Test");
builder.Writeln("First Line \n Second Line");
// Save output document.
doc.Save("out.doc");
Please let me know if you need more information, I will be glad to help you.
Best regards,
great thanks