'Declaration Public Overloads Function InsertTableOfContents( _ 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 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(title, switches, headerStyle, rightTabPos)
public TableOfContents InsertTableOfContents( string title, IDictionary<TableOfContentsSwitches,string> switches, string headerStyle, Nullable<int> rightTabPos )
Parameters
- 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.