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 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.

Signature
C#
C#
 public Gutter GutterPosition{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property GutterPosition() As Gutter
{signature}
{remarks}The default value for a new [Document|Document] is [
Remarks

The default value for a new Document is Document.Gutter.Side

|Document.Gutter#Side]. MS Word

.

MS Word equivalent:

File

menu

>

Page

Setup...

>

Margins

tab

>

Margins

section

>

Gutter

position:

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

Example
Code Block
csharp
csharp
titleC#


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

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


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

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