且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何动态创建Word文档索引页面,词汇表页面使用Microsoft.Office.Interop.Word。

更新时间:2023-02-08 08:37:59

您是否尝试在插入您感兴趣的内容时录制宏?这将为您提供使用的基本对象,方法和属性。

Have you tried recording a macro when inserting the content you're interested in? That would give you the basic objects, methods and properties used.

由于您甚至没有告诉我们您打算使用哪种编程语言,因此在此阶段没有更多人可以提供帮助。如果您需要更多帮助,您应该添加已经用于"interoping"的
代码使用Word来解决您的问题,以及执行您计划使用的操作的宏代码。

Since you don't even tell us which programming language you intend to use, there's not much more anyone can do to help at this stage. If you want more assistance you should add the code you already have for "interoping" with Word to your question, as well as the macro code that performs the actions you plan to use.