字体通过C#转换Microsoft Word中的加载项 [英] Fonts Convert add-in in Microsoft word by C#
本文介绍了字体通过C#转换Microsoft Word中的加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想开发将所有字体转换为我决定的字体的word插件.
I want to develop add in in word that convert any font to font that i decide.
推荐答案
在VBA中,应该是这样的:
In VBA it would be something like this:
Dim doc As Document
Set doc = Application.ActiveDocument
doc.Range.Font.Name = "Arial"
Set doc = Nothing
这篇关于字体通过C#转换Microsoft Word中的加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文