Page tree

Versions Compared

Key

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

Description

Excerpt

Sets or returns an int that represents the number that the page numbering starts at for this section.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int FirstPageNum{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property FirstPageNum() As Integer</p>Integer
Remarks

MS Word equivalent: Insert menu > Page Numbers... > Format... button > Start at:

Example
Code Block
csharp
csharp
titleC#
            //--- Return FirstPageNum
          int firstPageNum = oSection.FirstPageNum;

          //--- Set FirstPageNum
          oSection.FirstPageNum = 2;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return FirstPageNum
          Dim firstPageNum As Integer = oSection.FirstPageNum

          '--- Set FirstPageNum
          oSection.FirstPageNum = 2