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 representing if the headers and footers should be different for odd and even pages, such as when the pages in this document will be mirrored. When set to true, it creates one header or footer for even-numbered pages and a different header or footer for odd-numbered pages.

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

MS Word equivalent: File menu > Page Setup... > Layout tab > Headers and footers section > Different odd and even

Example
Code Block
csharp
csharp
titleC#

          //--- Return PrintFacingPages
          bool printFacingPages = oDocument.PrintFacingPages;

          //--- Set PrintFacingPages
          oDocument.PrintFacingPages = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return PrintFacingPages
          Dim printFacingPages As Boolean = oDocument.PrintFacingPages

          '--- Set PrintFacingPages
          oDocument.PrintFacingPages = True