# GrapeCity.Documents.Word.PageNumbering.HeadingLevelForChapter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_PageNumbering_HeadingLevelForChapter_" data-uid="GrapeCity.Documents.Word.PageNumbering.HeadingLevelForChapter*">HeadingLevelForChapter Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_PageNumbering_HeadingLevelForChapter_" data-uid="GrapeCity.Documents.Word.PageNumbering.HeadingLevelForChapter*"></a>
<h4 id="GrapeCity_Documents_Word_PageNumbering_HeadingLevelForChapter" data-uid="GrapeCity.Documents.Word.PageNumbering.HeadingLevelForChapter">HeadingLevelForChapter</h4>
<div class="markdown level1 summary"><p>Gets or sets the one-based index of the heading style applied to chapter titles in the document,
to be used as chapter headings in all page numbers for a section,
by locating the nearest heading of that style and extracting the numbering information.</p>
<p>
Can be a number from 0 through 8, corresponding to heading levels 1 through 9.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public byte HeadingLevelForChapter { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property HeadingLevelForChapter As Byte</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_PageNumbering_HeadingLevelForChapter_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the specified heading style does not exist in the current section, or does not have a numbering format,
then any previous level heading format shall be used as needed as the specified chapter number.
If no heading has numbering information and/or is used in the section, then the chapter and chapter separator shall be omitted from the page numbering data.</p>
</div>
</div>
