你好,
根据你的问题,希望下面的链接能帮到你。这个问题比较泛,我不确定是否有什么API能够全能的实现将txt, doc, xml
转为chm。
你可以了解一下sandcastle help file builder。比较常见的是将
word转为chm,你可以参考以下第一个链接的代码。至于其他的转换,你也许可以考虑先将其转为word然后再转为chm。
http://www.codeproject.com/Articles/127471/Word2CHM-Convert-a-Word-Document-to-a-CHM-File
http://stackoverflow.com/questions/13049157/is-there-anyway-i-can-use-sandcastle-in-order-to-create-chm-files-from-xml-fil
http://www.sandcastle-help-file-builder.com-about.com/
希望对你有帮助!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.