Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a 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.



{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}
Signature
C#C#
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}{signature:vb.net
vb.net
}
Public Property GutterPosition() As Gutter
Remarks
The default value for a new Document is
{signature}
{remarks}The default value for a new [Document|Document] is [Document.Gutter.Side
.MS Word
|Document.Gutter#Side].

MS Word equivalent: File menu > Page Setup... > Margins tab > Margins section > Gutter position:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle