LowerHeadingLevel 表达式是必需的。 一个代表“TableOfContents”集合的变量。 备注 此属性对应于目录 (TOC) 域的 \o 开关一起使用的结束值。 使用 UpperHeadingLevel 属性设置的起始标题级别。 例如,若要设置目录字段语法 {TOC \o"1-3"},将 LowerHeadingLevel 属性设置为 3, UpperHeadingLevel 属性设为 1。
expression. LowerHeadingLevel需要expression。 代表 'TableOfContents' 集合的變數。註解此屬性會對應至結束 \o 參數搭配使用的內容表格 (TOC) 欄位的值。 使用 UpperHeadingLevel 屬性可設定起始的標題階層。 例如,若要設定 TOC 欄位語法 {TOC \o"1-3"},將 LowerHeadingLevel 屬性設定為 3 並將 UpperHeading...
TableOfContents.LowerHeadingLevel 属性参考 反馈 定义命名空间: Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 返回或设置目录的结束标题级别。 C# 复制 public int LowerHeadingLevel { get; set; } 属性值 Int32 注解 LowerHeadingLevel 属性对应于目录 (目录) 字段的 \o...
Returns or sets the starting heading level for a table of contents. C# 複製 public int UpperHeadingLevel { get; set; } Property Value Int32 Remarks The UpperHeadingLevel property corresponds to the starting value used with the \o switch for a Table of Cont...
To change or remove a heading in your table of contents, apply a new outline level to the marked text. To do this, follow these steps: Select the marked text. On theOutliningtoolbar, select the level that you want in theOutline Levelbox. (ClickBody textto remove the outline level forma...
How to change the look of the headings in the document Use the Document Map Once you have applied your Heading styles, chooseView > Document Mapor, in Word 2010,View > Navigation Paneand select the Document Map. You can now see roughly what will be included in your Table of Contents. ...
复制 With Documents("Sales.doc") .Styles.Add Name:="Blue" .TablesOfContents(1).UseHeadingStyles = True .TablesOfContents(1).HeadingStyles.Add _ Style:="Blue", Level:=4 End With See Also Concepts TableOfContents Object Members TableOfContents Object中文...
Doing so will change the Heading Style to match the formatting you’d applied to that text. In addition, it will automatically update all the existing Headings of that level in your Word document. How to Insert a Table of Contents
6. Update the Table of Contents anytime. You can always update a Table of Contents that has been created automatically. Update the table if you change the heading styles, rearrange the contents, or change the text. Also, update it if you make any changes to the content that affects the ...
Under theGeneralsection, you can select from predefined styles and specify the number of heading levels you want to display in your TOC. ClickModifyto change the appearance of items in the table of contents. In theStyleslist, select the level you want to change, and then clickModifyto change...