返回一个 TableOfContents 对象,该对象代表添加到文档中的目录。语法表达式。添加 (Range、 UseHeadingStyles、 UpperHeadingLevel、 LowerHeadingLevel、 UseFields、 TableID、 RightAlignPageNumbers、 IncludePageNumbers、 AddStyles、 UseHyperlinks、 HidePageNumbersInWeb、 UseOutlineLevels) ...
If you are working with a large document in Microsoft Word, it may be a good idea to add a table of contents. Doing so will help you navigate the document’s contents much faster, and it’s easy to incorporate. In this tutorial, we show you how to add a table of contents in Micro...
Whatever document be it, if it doesn’t have aTable of ContentsSection, it sure is going to be difficult to navigate through it. What makes Microsoft Word very special is its simplicity, and its ability to make the users’ jobs much easier. That being said, Microsoft Word sure has an i...
Adding a table of contents to your Word document on Android can help you easily navigate your document and find the information you need. However, it can be tricky to do on a mobile device, especially if you're not familiar with the app's features. This article will walk you through the...
Microsoft.Office.Interop.Word.dll Returns aTableOfContentsobject that represents a table of contents added to a document. C#複製 publicMicrosoft.Office.Interop.Word.TableOfContentsAdd(Microsoft.Office.Interop.Word.Range Range,refobjectUseHeadingStyles,refobjectUpperHeadingLevel,refobjectLowerHead...
Microsoft Wordallows you to create neat tables within documents. Once a table is created, there are several easy ways to add more rows or columns, and we're going to show you how to do just that. Table of Contents Press Tab to Add Rows ...
Range Required Range object The range where you want the table of contents to appear. The table of contents replaces the range, if the range isn't collapsed. UseHeadingStyles Optional Variant True to use built-in heading styles to create the table of contents. The default value is True. ...
%appdata%\Microsoft\Word\Startup in the Windows Explorer Address bar and pressing Enter. There are four buttons and two dropdown items: The buttons are: 1. Insert Table of Contents Although this is the first button on the form, it is actually the last to be used. This button places (...
Want more? Introduction to Tables of Contents (TOCs) Format or customize a table of contents Advanced tables of contents Need more help? Want more options? Discover Community Explore subscription benefits, browse training courses, learn how to secure your device, and more. Microsoft 365 ...
Word Assembly: Microsoft.Office.Interop.Word.dll C# 複製 public virtual void add_NewDocument (Microsoft.Office.Interop.Word.ApplicationEvents4_NewDocumentEventHandler ); Parameters ApplicationEvents4_NewDocumentEventHandler Implements add_NewDocument(ApplicationEvents4_NewDocumentEventHandler) Applies ...