Word) (TableOfContents 物件 發行項 2023/04/07 6 位參與者 意見反應 本文內容 註解 方法 屬性 請參閱 代表一個表格的文件中的內容。 TableOfContents 物件是 TablesOfContents 成員 集合。 TablesOfContents 集合包含文件中的內容的所有資料表。 註解 使用TablesOfContents (Index),其中 Index 是索引編號,...
Word) (TableOfContents.Range 属性 项目 2023/04/07 6 个参与者 反馈 本文内容 语法 另请参阅 返回一个 Range 对象,该对象表示指定目录中包含的文档部分。 语法 表达式。范围 expression 是必需的。 一个代表“TableOfContents”集合的变量。 另请参阅 TableOfContents 对象 支持和反馈 有关于 Office VBA ...
返回一个代表 Microsoft Word 应用程序的 Application 对象。语法表达式。应用expression 是必需的。 一个代表“TableOfContents”集合的变量。备注Visual Basic 的 CreateObject 和GetObject 函数使您可以从 Visual Basic for Applications 项目中访问 OLE 自动化对象。另请参阅...
程序集: Microsoft.Office.Interop.Word.dll 表示文档中的单个表。 C# 复制 [System.Runtime.InteropServices.Guid("00020913-0000-0000-C000-000000000046")] public interface TableOfContents 属性 GuidAttribute 注解 TableOfContents 对象是 集合的成员TableOfContents。 TablesOfContents 集合包含文档中的所有表的内...
To be able to have the text in the table of contents, you should give a style to this text. At the time of the creation or of the update of the table of contents, Word fetches the text that has a style of type " Title 1 ", " Title 2 " or " Title 3 " to insert it then...
Word uses these options to format entries when building a table of contents. Try changing them, and then look at thePrint PrevieworWeb Previewin theTable of Contentsdialog. StylesA selection of the available entries you're using in your document that you can include in your table of contents...
Microsoft.Office.Interop.Word.dll Trueif built-in heading styles are used to create a table of contents. C# publicboolUseHeadingStyles {get;set; } Property Value Boolean Applies to 產品版本 Word primary interop assemblyLatest 意見反應 此頁面對您有幫助嗎?
程序集: Microsoft.Office.Interop.Word.dll 返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。 C# 复制 public int Creator { get; } 属性值 Int32 注解 如果对象是在 Microsoft Word 中创建的,则此属性返回十六进制数字 4D535744,表示字符串“MSWD”。 [!注释] 此值还可以通过常量 wdCreator...
A table of contents in Microsoft Word is based on the headings in the document. Headings formatted with theH1style become main topics, while headings formatted withH2become subtopics. You may be working with a document that's already written and needs a table of contents added, but you want...
For a Microsoft Word 97 version of this article, see 125937. Summary This article explains how to create table-of-contents entry fields (TC fields) and build a table of contents. It also explains how to create index entry fields (XE fields) and build an index. ...