Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

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

Signature
C#
C#
public boolean RestartPageNum{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property RestartPageNum() As Boolean
{signature}
{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\)

{remarks}
{example}{code:csharp|title=C#}
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)

Example
Code Block
csharp
csharp
titleC#
          
//--- Return RestartPageNum
          bool restartPageNum = oSection.RestartPageNum;

          //--- Set RestartPageNum
          oSection.RestartPageNum = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return RestartPageNum
          Dim restartPageNum As Boolean = oSection.RestartPageNum

          '--- Set RestartPageNum
          oSection.RestartPageNum = True
        
{code} {example}