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

Free Support Forum - aspose.com

How to control paging when convert html to word

I want to convert html to word.
How can I control the Pagination by using the html element
Thanks

@zhengkai,

You can force a Page Break in Word document by using the HTML like below:

<br style="page-break-before:always; clear:both" />

Thanks very much.
I have another question. How can I set the border of shape

@zhengkai,

Please ZIP and upload your sample Word and HTML documents here for testing. Please also provide your expected DOCX Word document. You can create expected document by using Microsoft Word. We will then investigate the scenario on our end and provide you more information.