Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
 public int FirstLineNum{ get; set; }
Signature
vb.net
vb.net
Public Property FirstLineNum() As Integer
Remarks

MS Word equivalent: File menu > Page Setup... > Layout tab > Line Numbers... button > Start at: -- (Make sure Apply to: This section is selected)

Example
Code Block
csharp
csharp
titleC#

          //--- Return FirstLineNum
          int firstLineNum = oSection.FirstLineNum;

          //--- Set FirstLineNum
          oSection.FirstLineNum = 2;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return FirstLineNum
          Dim firstLineNum As Integer = oSection.FirstLineNum

          '--- Set FirstLineNum
          oSection.FirstLineNum = 2