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 allow tables to break across pages in this document.{excerpt}
{signature:C#}
 public boolean AllowTableBreaks{ get; set; }
{signature}{signature:vb.net}
Public Property AllowTableBreaks() As Boolean
{signature}
{remarks}MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Don't break wrapped tables across pages

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

          //--- Return AllowTableBreaks
          bool allowTableBreaks = cs.AllowTableBreaks;

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

          '--- Return AllowTableBreaks
          Dim allowTableBreaks As Boolean = cs.AllowTableBreaks

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

{example}