TablesOfContents.Format Property
Returns or sets the formatting for the tables of contents in the specified document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Format As WdTocFormat
Get
Set
'Usage
Dim instance As TablesOfContents
Dim value As WdTocFormat
value = instance.Format
instance.Format = value
WdTocFormat Format { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdTocFormat
Remarks
WdTocFormat can be one of these WdTocFormat constants.
wdTOCDistinctive
wdTOCFormal
wdTOCSimple
wdTOCClassic
wdTOCFancy
wdTOCModern
wdTOCTemplate