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 {{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:vb.net}
Public Property LineNumberingAllowed() As Boolean
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Pagination section > Suppress line 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}