HtmlToOpenXml - HTML to Docx Conversion -
How to enable page numbers while converting HTML to Docx using开发者_如何转开发 HtmlToOpenXML API.
Thanks
I believe HtmlToOpenXML is dependent on the OpenXml SDK. In this case because HtmlToOpenXML does not support page numbers, you can use the SDK to add page numbers directly.
You can find out how to do this by generating the code required to create a simple word document with page numbers using the SDK's OpenXml Productivity Tool's Reflect Code feature.
I have done this myself but it generates a lot of code so I won't post it here. It's very easy to do though.
精彩评论