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");
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.