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}{signature:
}
Signature
vb.net
vb.net
Public Property MirrorMargins() As Boolean
{signature}
{remarks}MS Word 
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 {remarks} {example}{code:csharp|title=C#}

pages

Example
Code Block
csharp
csharp
titleC#


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

          //--- Set MirrorMargins
          cs.MirrorMargins = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


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

          '--- Set MirrorMargins
          cs.MirrorMargins = True
        
{code} {example}