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}{signature:
}
Signature
vb.net
vb.net
Public Property FirstLineNum() As Integer
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

File

menu

>

Page

Setup...

>

Layout

tab

>

Line

Numbers...

button

>

Start

at:

\

-

\

-

\

(Make

sure

Apply

to:

This

section

is

selected

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

)

Example
Code Block
csharp
csharp
titleC#


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

          //--- Set FirstLineNum
          oSection.FirstLineNum = 2;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


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

          '--- Set FirstLineNum
          oSection.FirstLineNum = 2
        
{code} {example}