Sets or returns a Section.LineNumbering object that represents the line numbering restart policy for this section. There are 3 options:

 public LineNumbering LineNumberingType{ get; set; }
Public Property LineNumberingType() As LineNumbering

This setting defaults to PerPage (line numbering restarts for each page).

MS Word equivalent: File > Page Setup... > Layout tab > Preview section (make sure Apply To: This Section is selected) > Line Numbers... button > Numbering section


          //--- Return LineNumbering
          Section.LineNumbering oLineNumbering = oSection.LineNumberingType;

          //--- Set LineNumbering
          oSection.LineNumberingType = Section.LineNumbering.Restart;
        

          '--- Return LineNumbering
          Dim oLineNumbering As Section.LineNumbering = oSection.LineNumberingType

          '--- Set LineNumbering
          oSection.LineNumberingType = Section.LineNumbering.Restart