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
Wiki Markup
{description}
{excerpt}Sets or returns a [Section.LineNumbering|Section.LineNumbering] object that represents the line numbering restart policy for this section. There are 3 options:{excerpt}
{signature:C#}
 public LineNumbering LineNumberingType{ get; set; }
{signature}{signature:vb.net}
Public Property LineNumberingType() As LineNumbering
{signature}
{remarks}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

{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set LineNumbering
          oSection.LineNumberingType = Section.LineNumbering.Restart;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set LineNumbering
          oSection.LineNumberingType = Section.LineNumbering.Restart
        {code}

{example}