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 boolean that represents if Word will display line numbers next to a paragraph. This property has no effect in documents or sections with no line numbers.

Signature
C#
C#
 public boolean LineNumberingAllowed{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property LineNumberingAllowed() As Boolean
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Paragraph...

>

Line

and

Page

Breaks

tab

>

Pagination

section

>

Suppress

line

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

numbers

Example
Code Block
csharp
csharp
titleC#


          //--- Return LineNumberingAllowed
          bool lineNumberingAllowed = oParagraphFormatting.LineNumberingAllowed;

          //--- Set LineNumberingAllowed
          oParagraphFormatting.LineNumberingAllowed = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return LineNumberingAllowed
          Dim lineNumberingAllowed As Boolean = oParagraphFormatting.LineNumberingAllowed

          '--- Set LineNumberingAllowed
          oParagraphFormatting.LineNumberingAllowed = True
        
{code} {example}