Microsoft Word 中的编号列表
我正在使用 Interop.Microsoft.Office.Interop.Word.dll 在 C# 中动态构建 Word 文档。
有人有创建编号列表的代码示例吗?
I am using Interop.Microsoft.Office.Interop.Word.dll to dynamically build a Word document in C#.
Does anyone have a code example to create a a numbered list?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个...它假设您有对 Word10 的引用(您可以使用其他版本,您必须更改常量)。不要忘记
using Microsoft.Office.Interop.Word;
编辑:格式设置。
Try this... it assumes you have a reference to Word10 (you can use other versions, you'll have to change the constants). Don't forget the
using Microsoft.Office.Interop.Word;
edit: formatting.