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 snap table and page borders to the page border in this document.{excerpt}
{signature:C#}
 public boolean SnapPageBorder{ get; set; }
{signature}{signature:vb.net}
Public Property SnapPageBorder() As Boolean
{signature}
{example}{code:csharp|title=C#}

          //--- Return SnapPageBorder
          bool snapPageBorder = cs.SnapPageBorder;

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

          '--- Return SnapPageBorder
          Dim snapPageBorder As Boolean = cs.SnapPageBorder

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

{example}