WordTableOfContentScope
OfficeIMO.Word
Edits one WordTableOfContent: its fluent methods and keywords, each returning this scope.
Inheritance
- object
- WordTableOfContentScope
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 1
Methods
public WordTableOfContentScope Levels(int minLevel, int maxLevel) #Updates the heading levels included by the TOC field switch (for example: \o "1-5").
Parameters
- minLevel int
- Minimum heading level to include (1..9).
- maxLevel int
- Maximum heading level to include (1..9).
public WordTableOfContentScope Text(string value) #Sets WordTableOfContent.Text: Gets or sets the heading text displayed for the table of contents.
Parameters
- value string
- The value.
public WordTableOfContentScope TextNoContent(string value) #Sets WordTableOfContent.TextNoContent: Gets or sets the text shown when the document has no entries for the table of contents.
Parameters
- value string
- The value.
public WordTableOfContentScope TitleParagraph(Action<WordParagraph> configure) #Configures WordTableOfContent.TitleParagraph in place: Gets the existing title paragraph, or null when this table of contents has no title.
Parameters
- configure System.Action<OfficeIMO.Word.WordParagraph>
- Configures the value.
Inherited Methods
Properties
public WordTableOfContent Model { get; } #The WordTableOfContent this scope edits, for plain C# inside a lambda.