Sets or returns a boolean that represents whether or not page numbering will restart at the beginning of this section.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean RestartPageNum{ get; set; }
</pre></td></tr></table>
<p>Public Property RestartPageNum() As Boolean</p>

This is set to false by default (it will continue numbering pages from the previous section).

MS Word equivalent: Insert menu > Page Numbers... > Format... button > Page numbering section > Continue from previous section ( false) OR Start at: (true)


          //--- Return RestartPageNum
          bool restartPageNum = oSection.RestartPageNum;

          //--- Set RestartPageNum
          oSection.RestartPageNum = true;
        

          '--- Return RestartPageNum
          Dim restartPageNum As Boolean = oSection.RestartPageNum

          '--- Set RestartPageNum
          oSection.RestartPageNum = True