通过开放XML SDK计算docx中的单词 [英] Counting the words in the docx by open XML SDK
本文介绍了通过开放XML SDK计算docx中的单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
如何通过
打开XML SDK
谢谢如此我可以获取MS word文档中单词的数量(计数)很多
Hello
how I can take the numbers(count) of words in my MS word document by
open XML SDK
thanks so much
推荐答案
看看 DocumentFormat.OpenXml.ExtendedProperties [ ^ ] - 单词 [ ^ ],返回上次保存时文档中包含的单词总数。
Take a look at DocumentFormat.OpenXml.ExtendedProperties[^] - Words[^], which returns the total number of words contained in a document when last saved.
这篇关于通过开放XML SDK计算docx中的单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文