Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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.

 numbers

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

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

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

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

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

{example}
Signature
C#C#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public boolean LineNumberingAllowed{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property LineNumberingAllowed() As Boolean
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Pagination section > Suppress line
numbers
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle