Add 方法 参考 反馈 定义 命名空间: Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 返回一个 TableOfContents 对象,该对象表示添加到文档的目录。 C# 复制 public Microsoft.Office.Interop.Word.TableOfContents Add (Microsoft.Office.Interop.Word.Range Range, ref object Use...
How to create table of contents entry (TC) fields There are two ways to mark table of contents items: Create a custom menu command or use the keyboard. Method 1: How to create a custom menu command Part A: To add the MarkTableofContentsEntry menu co...
Repeat steps 1 through 7 of this procedure for each table of contents entry in your document. Method 2: How to use the keyboard Select the word or words that you want to include as a table of contents entry. Press ALT+SHIFT+O. The Mark Table of Contents Entry dialog box appears. In ...
wdDialogInsertTableOfContents Outline、 Fields、 From、 To、 TableId、 AddedStyles、 Caption、 HeadingSeparator、 Replace、 MarkEntry、 AutoMark、 MarkCitation、 Type、 RightAlignPageNumbers、 Passim、 KeepFormatting、 Columns、 Category、 Label、 ShowPageNumbers、 AccentedLetters、 Filter、 SortBy、 Lead...
返回一个 TableOfContents 对象,该对象代表添加到文档中的目录。语法表达式。添加 (Range、 UseHeadingStyles、 UpperHeadingLevel、 LowerHeadingLevel、 UseFields、 TableID、 RightAlignPageNumbers、 IncludePageNumbers、 AddStyles、 UseHyperlinks、 HidePageNumbersInWeb、 UseOutlineLevels) ...
OptionalObject.Trueif Table of Contents Entry (TC) fields are used to create the table of contents. Use theMarkEntry(Range, Object, Object, Object, Object)method to mark entries to be included in the table of contents. The default value isFalse. ...
TablesOfContents.Add 方法 (Word) 發行項 2023/04/07 6 位參與者 意見反應 本文內容 語法 參數 傳回值 範例 另請參閱 會傳回代表加入至文件的目錄的 TableOfContents 物件。 語法 運算式。新增 (Range、 UseHeadingStyles、 UpperHeadingLevel、 LowerHeadingLevel、 UseFields、 TableID、 RightAlign...
Table of Contents The add-in, like the other add-ins available from my web site is a macro enabled template intended to be inserted in the Word startup folder from where it is loaded into Word when Word is started, and replaces the TOC group on the References Tab of Word 2007 and la...
wdDialogMarkTableOfContentsEntry Entry、 EntryAutoText、 TableId、 Level wdDialogNewToolbar 名稱、 內容 wdDialogNoteOptions FootnotesAt、 FootNumberAs、 FootStartingNum、 FootRestartNum、 EndnotesAt、 EndNumberAs、 EndStartingNum、 EndRestartNum、 FootNumberingStyle、 EndNumberingStyle wdDialogOrganizer ...
These must be in Heading 1, Heading 2, and Heading 3 styles to appear in the table of contents. Anything set to Heading 1 will appear as an individual entry while Heading 2 and 3 will appear as subsections beneath a Heading 1 entry. ...