Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns an int that represents the gutter width for this section. The gutter adds space to the margin. Gutters are used when a document needs additional space to allow for binding. One twip = (1/20 pt) or (1/1440 in)

Signature
C#
C#

 public int GutterWidth{ get; set; }
Signature
vb.net
vb.net

Public Property GutterWidth() As Integer
Remarks

Gutter width may not be smaller than 0" (0 twips) or larger than 22" (31680 twips). Values beyond these will be automatically adjusted.

MS Word equivalent: File menu > Page Setup... > Margins tab > Gutter: -- (Make sure Apply to: This section is selected)

Example
Code Block
csharp
csharp
titleC#
            //--- Return GutterWidth
          int gutterWidth = oSection.GutterWidth;

          //--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return GutterWidth
          Dim gutterWidth As Integer = oSection.GutterWidth

          '--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720