CaptionLabel.ChapterStyleLevel Property
Returns or sets the heading style that marks a new chapter when chapter numbers are included with the specified caption label.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property ChapterStyleLevel As Integer
Get
Set
'Usage
Dim instance As CaptionLabel
Dim value As Integer
value = instance.ChapterStyleLevel
instance.ChapterStyleLevel = value
int ChapterStyleLevel { get; set; }
Property Value
Type: System.Int32
Remarks
The returned number 1 corresponds to Heading 1, 2 corresponds to Heading 2, and so on.
The IncludeChapterNumber property must be set to True for chapter numbers to be included with caption labels.