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 a Section.LineNumbering object that represents the line numbering restart policy for this section. There are 3 options:

Signature
C#
C#
 public LineNumbering LineNumberingType{ get; set; }
{signature}{signature:
}
Signature
vb.net
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 
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#}

section

Example
Code Block
csharp
csharp
titleC#


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

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


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

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