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 swap left and right borders on odd facing pages in this document.{excerpt}
{signature:C#}
 public boolean SwapBorders{ get; set; }
{signature}{signature:vb.net}
Public Property SwapBorders() As Boolean
{signature}
{remarks}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 SwapBorders
          bool swapBorders = cs.SwapBorders;

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

          '--- Return SwapBorders
          Dim swapBorders As Boolean = cs.SwapBorders

          '--- Set SupressTopSpacing
          cs.SwapBorders = True
        {code}

{example}