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 [Document.Gutter|Document.Gutter] object representing the gutter position in this document when it is opened in Word. If you have set up your document with facing pages or two pages per sheet \(by using Mirror margins, Book fold, or 2 pages per sheet\), then this option is not available. Possible values: Side, Top.{excerpt}
{signature:C#}
 public Gutter GutterPosition{ get; set; }
{signature}{signature:vb.net}
Public Property GutterPosition() As Gutter
{signature}
{remarks}The default value for a new [Document|Document] is [Document.Gutter.Side|Document.Gutter#Side].

MS Word equivalent: File menu > Page Setup... > Margins tab > Margins section > Gutter position:

{remarks}
{example}{code:csharp|title=C#}

          //--- Return GutterPosition
          Document.Gutter oGutterPosition = oDocument.GutterPosition;

          //--- Set GutterPosition
          oDocument.GutterPosition = Document.Gutter.Top;
        {code}
{code:vb.net|title=vb.net}

          '--- Return GutterPosition
          Dim oGutterPosition As Document.Gutter = oDocument.GutterPosition

          '--- Set GutterPosition
          oDocument.GutterPosition = Gutter.Top
        {code}

{example}