I am testing your product aspose.word .net.
We thinking of buying it it for a letter generator project.
I am storing HTML in a database to create dynamic letters. but i need to added a page break.
I like to do in HTML How do i add page break to a word document through a HTML style tag.
I have tried:
This works fine on my side. Here is code I used for testing:
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml("<b>Bold text on the first page</b><br style=\"page-break-before:always; clear:both\" /><i>Italic text on the second page</i>");
doc.Save(@"Test001\out.doc");