'Declaration Public Overloads Function InsertTableOfContents( _ ByVal reference As Paragraph, _ ByVal title As String, _ ByVal switches As IDictionary(Of TableOfContentsSwitches,String), _ Optional ByVal headerStyle As String, _ Optional ByVal rightTabPos As Nullable(Of Integer) _ ) As TableOfContents
'Usage Dim instance As Document Dim reference As Paragraph Dim title As String Dim switches As IDictionary(Of TableOfContentsSwitches,String) Dim headerStyle As String Dim rightTabPos As Nullable(Of Integer) Dim value As TableOfContents value = instance.InsertTableOfContents(reference, title, switches, headerStyle, rightTabPos)
public TableOfContents InsertTableOfContents( Paragraph reference, string title, IDictionary<TableOfContentsSwitches,string> switches, string headerStyle, Nullable<int> rightTabPos )
Parameters
- reference
- The referenced paragraph to indicate the position of the table of contents.
- title
- The title of the table of contents.
- switches
- A key-value dictionary where the key is a TableOfContentSwitches and the value is the parameter of the switch.
- headerStyle
- The style to use for the title of the table of contents.
- rightTabPos
- The position of the text aligned from the right.
Return Value
The newly inserted table of contents.