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 whether or not Word will add leading \(extra space\) between rows of text in this document.{excerpt}
{signature:C#}
 public boolean AllowLeading{ get; set; }
{signature}{signature:vb.net}
Public Property AllowLeading() As Boolean
{signature}
{remarks}This is set to {{true}} by default.

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Don't balance columns for Continuous section starts

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

          //--- Return AllowLeading
          bool allowLeading = cs.AllowLeading;

          //--- Set AllowLeading
          cs.AllowLeading = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return AllowLeading
          Dim allowLeading As Boolean = cs.AllowLeading

          '--- Set AllowLeading
          cs.AllowLeading = True
        {code}

{example}