Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents whether or not page numbering will restart at the beginning of this section.{excerpt}
{signature:C#}
 public boolean RestartPageNum{ get; set; }
Signature
{signature}{signature:vb.net
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)

{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#}

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

          //--- Set RestartPageNum
          oSection.RestartPageNum = true;
        
{code}
{code:vb.net
|title=vb.net
}

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

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle