Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean that represents whether or not page numbering will restart at the beginning of this section.
C#
public boolean RestartPageNum{ get; set; }
vb.net
Public Property RestartPageNum() As Boolean

Remarks

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)

Examples

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

          //--- Set RestartPageNum
          oSection.RestartPageNum = true;
        
vb.net
          '--- Return RestartPageNum
          Dim restartPageNum As Boolean = oSection.RestartPageNum

          '--- Set RestartPageNum
          oSection.RestartPageNum = True
        
  • No labels