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
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will swap margins on left/right pages.

Signature
C#
C#
 public boolean MirrorMargins{ get; set; }
Signature
vb.net
vb.net
Public Property MirrorMargins() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Swap left and right borders on odd facing pages

Example
Code Block
csharp
csharp
titleC#

          //--- Return MirrorMargins
          bool mirrorMargins = cs.MirrorMargins;

          //--- Set MirrorMargins
          cs.MirrorMargins = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return MirrorMargins
          Dim mirrorMargins As Boolean = cs.MirrorMargins

          '--- Set MirrorMargins
          cs.MirrorMargins = True